1. Packages
  2. Control Plane (cpln)
  3. API Docs
  4. Secret
Control Plane v0.0.47 published on Saturday, Nov 9, 2024 by pulumiverse

cpln.Secret

Explore with Pulumi AI

cpln logo
Control Plane v0.0.47 published on Saturday, Nov 9, 2024 by pulumiverse

    Create Secret Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Secret(name: string, args?: SecretArgs, opts?: CustomResourceOptions);
    @overload
    def Secret(resource_name: str,
               args: Optional[SecretArgs] = None,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Secret(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               aws: Optional[SecretAwsArgs] = None,
               azure_connector: Optional[SecretAzureConnectorArgs] = None,
               azure_sdk: Optional[str] = None,
               description: Optional[str] = None,
               dictionary: Optional[Mapping[str, str]] = None,
               docker: Optional[str] = None,
               ecr: Optional[SecretEcrArgs] = None,
               gcp: Optional[str] = None,
               keypair: Optional[SecretKeypairArgs] = None,
               name: Optional[str] = None,
               nats_account: Optional[SecretNatsAccountArgs] = None,
               opaque: Optional[SecretOpaqueArgs] = None,
               tags: Optional[Mapping[str, str]] = None,
               tls: Optional[SecretTlsArgs] = None,
               userpass: Optional[SecretUserpassArgs] = None)
    func NewSecret(ctx *Context, name string, args *SecretArgs, opts ...ResourceOption) (*Secret, error)
    public Secret(string name, SecretArgs? args = null, CustomResourceOptions? opts = null)
    public Secret(String name, SecretArgs args)
    public Secret(String name, SecretArgs args, CustomResourceOptions options)
    
    type: cpln:Secret
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SecretArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecretArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecretArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecretArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecretArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var secretResource = new Cpln.Secret("secretResource", new()
    {
        Aws = new Cpln.Inputs.SecretAwsArgs
        {
            AccessKey = "string",
            SecretKey = "string",
            ExternalId = "string",
            RoleArn = "string",
        },
        AzureConnector = new Cpln.Inputs.SecretAzureConnectorArgs
        {
            Code = "string",
            Url = "string",
        },
        AzureSdk = "string",
        Description = "string",
        Dictionary = 
        {
            { "string", "string" },
        },
        Docker = "string",
        Ecr = new Cpln.Inputs.SecretEcrArgs
        {
            AccessKey = "string",
            Repos = new[]
            {
                "string",
            },
            SecretKey = "string",
            ExternalId = "string",
            RoleArn = "string",
        },
        Gcp = "string",
        Keypair = new Cpln.Inputs.SecretKeypairArgs
        {
            SecretKey = "string",
            Passphrase = "string",
            PublicKey = "string",
        },
        Name = "string",
        NatsAccount = new Cpln.Inputs.SecretNatsAccountArgs
        {
            AccountId = "string",
            PrivateKey = "string",
        },
        Opaque = new Cpln.Inputs.SecretOpaqueArgs
        {
            Payload = "string",
            Encoding = "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        Tls = new Cpln.Inputs.SecretTlsArgs
        {
            Cert = "string",
            Key = "string",
            Chain = "string",
        },
        Userpass = new Cpln.Inputs.SecretUserpassArgs
        {
            Password = "string",
            Username = "string",
            Encoding = "string",
        },
    });
    
    example, err := cpln.NewSecret(ctx, "secretResource", &cpln.SecretArgs{
    	Aws: &cpln.SecretAwsArgs{
    		AccessKey:  pulumi.String("string"),
    		SecretKey:  pulumi.String("string"),
    		ExternalId: pulumi.String("string"),
    		RoleArn:    pulumi.String("string"),
    	},
    	AzureConnector: &cpln.SecretAzureConnectorArgs{
    		Code: pulumi.String("string"),
    		Url:  pulumi.String("string"),
    	},
    	AzureSdk:    pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Dictionary: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Docker: pulumi.String("string"),
    	Ecr: &cpln.SecretEcrArgs{
    		AccessKey: pulumi.String("string"),
    		Repos: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SecretKey:  pulumi.String("string"),
    		ExternalId: pulumi.String("string"),
    		RoleArn:    pulumi.String("string"),
    	},
    	Gcp: pulumi.String("string"),
    	Keypair: &cpln.SecretKeypairArgs{
    		SecretKey:  pulumi.String("string"),
    		Passphrase: pulumi.String("string"),
    		PublicKey:  pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	NatsAccount: &cpln.SecretNatsAccountArgs{
    		AccountId:  pulumi.String("string"),
    		PrivateKey: pulumi.String("string"),
    	},
    	Opaque: &cpln.SecretOpaqueArgs{
    		Payload:  pulumi.String("string"),
    		Encoding: pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Tls: &cpln.SecretTlsArgs{
    		Cert:  pulumi.String("string"),
    		Key:   pulumi.String("string"),
    		Chain: pulumi.String("string"),
    	},
    	Userpass: &cpln.SecretUserpassArgs{
    		Password: pulumi.String("string"),
    		Username: pulumi.String("string"),
    		Encoding: pulumi.String("string"),
    	},
    })
    
    var secretResource = new Secret("secretResource", SecretArgs.builder()
        .aws(SecretAwsArgs.builder()
            .accessKey("string")
            .secretKey("string")
            .externalId("string")
            .roleArn("string")
            .build())
        .azureConnector(SecretAzureConnectorArgs.builder()
            .code("string")
            .url("string")
            .build())
        .azureSdk("string")
        .description("string")
        .dictionary(Map.of("string", "string"))
        .docker("string")
        .ecr(SecretEcrArgs.builder()
            .accessKey("string")
            .repos("string")
            .secretKey("string")
            .externalId("string")
            .roleArn("string")
            .build())
        .gcp("string")
        .keypair(SecretKeypairArgs.builder()
            .secretKey("string")
            .passphrase("string")
            .publicKey("string")
            .build())
        .name("string")
        .natsAccount(SecretNatsAccountArgs.builder()
            .accountId("string")
            .privateKey("string")
            .build())
        .opaque(SecretOpaqueArgs.builder()
            .payload("string")
            .encoding("string")
            .build())
        .tags(Map.of("string", "string"))
        .tls(SecretTlsArgs.builder()
            .cert("string")
            .key("string")
            .chain("string")
            .build())
        .userpass(SecretUserpassArgs.builder()
            .password("string")
            .username("string")
            .encoding("string")
            .build())
        .build());
    
    secret_resource = cpln.Secret("secretResource",
        aws={
            "access_key": "string",
            "secret_key": "string",
            "external_id": "string",
            "role_arn": "string",
        },
        azure_connector={
            "code": "string",
            "url": "string",
        },
        azure_sdk="string",
        description="string",
        dictionary={
            "string": "string",
        },
        docker="string",
        ecr={
            "access_key": "string",
            "repos": ["string"],
            "secret_key": "string",
            "external_id": "string",
            "role_arn": "string",
        },
        gcp="string",
        keypair={
            "secret_key": "string",
            "passphrase": "string",
            "public_key": "string",
        },
        name="string",
        nats_account={
            "account_id": "string",
            "private_key": "string",
        },
        opaque={
            "payload": "string",
            "encoding": "string",
        },
        tags={
            "string": "string",
        },
        tls={
            "cert": "string",
            "key": "string",
            "chain": "string",
        },
        userpass={
            "password": "string",
            "username": "string",
            "encoding": "string",
        })
    
    const secretResource = new cpln.Secret("secretResource", {
        aws: {
            accessKey: "string",
            secretKey: "string",
            externalId: "string",
            roleArn: "string",
        },
        azureConnector: {
            code: "string",
            url: "string",
        },
        azureSdk: "string",
        description: "string",
        dictionary: {
            string: "string",
        },
        docker: "string",
        ecr: {
            accessKey: "string",
            repos: ["string"],
            secretKey: "string",
            externalId: "string",
            roleArn: "string",
        },
        gcp: "string",
        keypair: {
            secretKey: "string",
            passphrase: "string",
            publicKey: "string",
        },
        name: "string",
        natsAccount: {
            accountId: "string",
            privateKey: "string",
        },
        opaque: {
            payload: "string",
            encoding: "string",
        },
        tags: {
            string: "string",
        },
        tls: {
            cert: "string",
            key: "string",
            chain: "string",
        },
        userpass: {
            password: "string",
            username: "string",
            encoding: "string",
        },
    });
    
    type: cpln:Secret
    properties:
        aws:
            accessKey: string
            externalId: string
            roleArn: string
            secretKey: string
        azureConnector:
            code: string
            url: string
        azureSdk: string
        description: string
        dictionary:
            string: string
        docker: string
        ecr:
            accessKey: string
            externalId: string
            repos:
                - string
            roleArn: string
            secretKey: string
        gcp: string
        keypair:
            passphrase: string
            publicKey: string
            secretKey: string
        name: string
        natsAccount:
            accountId: string
            privateKey: string
        opaque:
            encoding: string
            payload: string
        tags:
            string: string
        tls:
            cert: string
            chain: string
            key: string
        userpass:
            encoding: string
            password: string
            username: string
    

    Secret Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Secret resource accepts the following input properties:

    Aws Pulumiverse.Cpln.Inputs.SecretAws
    Reference Page.
    AzureConnector Pulumiverse.Cpln.Inputs.SecretAzureConnector
    Reference Page.
    AzureSdk string
    JSON string containing the Docker secret. Reference Page.
    Description string
    Description of the Secret.
    Dictionary Dictionary<string, string>
    List of unique key-value pairs. Reference Page.
    Docker string
    JSON string containing the Docker secret. Reference Page.
    Ecr Pulumiverse.Cpln.Inputs.SecretEcr
    Reference Page
    Gcp string
    JSON string containing the GCP secret. Reference Page
    Keypair Pulumiverse.Cpln.Inputs.SecretKeypair
    Reference Page.
    Name string
    Name of the secret.
    NatsAccount Pulumiverse.Cpln.Inputs.SecretNatsAccount
    Reference Page.
    Opaque Pulumiverse.Cpln.Inputs.SecretOpaque
    Reference Page.
    Tags Dictionary<string, string>
    Key-value map of resource tags.
    Tls Pulumiverse.Cpln.Inputs.SecretTls
    Reference Page.
    Userpass Pulumiverse.Cpln.Inputs.SecretUserpass
    Reference Page.
    Aws SecretAwsArgs
    Reference Page.
    AzureConnector SecretAzureConnectorArgs
    Reference Page.
    AzureSdk string
    JSON string containing the Docker secret. Reference Page.
    Description string
    Description of the Secret.
    Dictionary map[string]string
    List of unique key-value pairs. Reference Page.
    Docker string
    JSON string containing the Docker secret. Reference Page.
    Ecr SecretEcrArgs
    Reference Page
    Gcp string
    JSON string containing the GCP secret. Reference Page
    Keypair SecretKeypairArgs
    Reference Page.
    Name string
    Name of the secret.
    NatsAccount SecretNatsAccountArgs
    Reference Page.
    Opaque SecretOpaqueArgs
    Reference Page.
    Tags map[string]string
    Key-value map of resource tags.
    Tls SecretTlsArgs
    Reference Page.
    Userpass SecretUserpassArgs
    Reference Page.
    aws SecretAws
    Reference Page.
    azureConnector SecretAzureConnector
    Reference Page.
    azureSdk String
    JSON string containing the Docker secret. Reference Page.
    description String
    Description of the Secret.
    dictionary Map<String,String>
    List of unique key-value pairs. Reference Page.
    docker String
    JSON string containing the Docker secret. Reference Page.
    ecr SecretEcr
    Reference Page
    gcp String
    JSON string containing the GCP secret. Reference Page
    keypair SecretKeypair
    Reference Page.
    name String
    Name of the secret.
    natsAccount SecretNatsAccount
    Reference Page.
    opaque SecretOpaque
    Reference Page.
    tags Map<String,String>
    Key-value map of resource tags.
    tls SecretTls
    Reference Page.
    userpass SecretUserpass
    Reference Page.
    aws SecretAws
    Reference Page.
    azureConnector SecretAzureConnector
    Reference Page.
    azureSdk string
    JSON string containing the Docker secret. Reference Page.
    description string
    Description of the Secret.
    dictionary {[key: string]: string}
    List of unique key-value pairs. Reference Page.
    docker string
    JSON string containing the Docker secret. Reference Page.
    ecr SecretEcr
    Reference Page
    gcp string
    JSON string containing the GCP secret. Reference Page
    keypair SecretKeypair
    Reference Page.
    name string
    Name of the secret.
    natsAccount SecretNatsAccount
    Reference Page.
    opaque SecretOpaque
    Reference Page.
    tags {[key: string]: string}
    Key-value map of resource tags.
    tls SecretTls
    Reference Page.
    userpass SecretUserpass
    Reference Page.
    aws SecretAwsArgs
    Reference Page.
    azure_connector SecretAzureConnectorArgs
    Reference Page.
    azure_sdk str
    JSON string containing the Docker secret. Reference Page.
    description str
    Description of the Secret.
    dictionary Mapping[str, str]
    List of unique key-value pairs. Reference Page.
    docker str
    JSON string containing the Docker secret. Reference Page.
    ecr SecretEcrArgs
    Reference Page
    gcp str
    JSON string containing the GCP secret. Reference Page
    keypair SecretKeypairArgs
    Reference Page.
    name str
    Name of the secret.
    nats_account SecretNatsAccountArgs
    Reference Page.
    opaque SecretOpaqueArgs
    Reference Page.
    tags Mapping[str, str]
    Key-value map of resource tags.
    tls SecretTlsArgs
    Reference Page.
    userpass SecretUserpassArgs
    Reference Page.
    aws Property Map
    Reference Page.
    azureConnector Property Map
    Reference Page.
    azureSdk String
    JSON string containing the Docker secret. Reference Page.
    description String
    Description of the Secret.
    dictionary Map<String>
    List of unique key-value pairs. Reference Page.
    docker String
    JSON string containing the Docker secret. Reference Page.
    ecr Property Map
    Reference Page
    gcp String
    JSON string containing the GCP secret. Reference Page
    keypair Property Map
    Reference Page.
    name String
    Name of the secret.
    natsAccount Property Map
    Reference Page.
    opaque Property Map
    Reference Page.
    tags Map<String>
    Key-value map of resource tags.
    tls Property Map
    Reference Page.
    userpass Property Map
    Reference Page.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Secret resource produces the following output properties:

    CplnId string
    The ID, in GUID format, of the Secret.
    DictionaryAsEnvs Dictionary<string, object>
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    Id string
    The provider-assigned unique ID for this managed resource.
    SecretLink string
    Output used when linking a secret to an environment variable or volume.
    SelfLink string
    Full link to this resource. Can be referenced by other resources.
    CplnId string
    The ID, in GUID format, of the Secret.
    DictionaryAsEnvs map[string]interface{}
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    Id string
    The provider-assigned unique ID for this managed resource.
    SecretLink string
    Output used when linking a secret to an environment variable or volume.
    SelfLink string
    Full link to this resource. Can be referenced by other resources.
    cplnId String
    The ID, in GUID format, of the Secret.
    dictionaryAsEnvs Map<String,Object>
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    id String
    The provider-assigned unique ID for this managed resource.
    secretLink String
    Output used when linking a secret to an environment variable or volume.
    selfLink String
    Full link to this resource. Can be referenced by other resources.
    cplnId string
    The ID, in GUID format, of the Secret.
    dictionaryAsEnvs {[key: string]: any}
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    id string
    The provider-assigned unique ID for this managed resource.
    secretLink string
    Output used when linking a secret to an environment variable or volume.
    selfLink string
    Full link to this resource. Can be referenced by other resources.
    cpln_id str
    The ID, in GUID format, of the Secret.
    dictionary_as_envs Mapping[str, Any]
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    id str
    The provider-assigned unique ID for this managed resource.
    secret_link str
    Output used when linking a secret to an environment variable or volume.
    self_link str
    Full link to this resource. Can be referenced by other resources.
    cplnId String
    The ID, in GUID format, of the Secret.
    dictionaryAsEnvs Map<Any>
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    id String
    The provider-assigned unique ID for this managed resource.
    secretLink String
    Output used when linking a secret to an environment variable or volume.
    selfLink String
    Full link to this resource. Can be referenced by other resources.

    Look up Existing Secret Resource

    Get an existing Secret resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SecretState, opts?: CustomResourceOptions): Secret
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aws: Optional[SecretAwsArgs] = None,
            azure_connector: Optional[SecretAzureConnectorArgs] = None,
            azure_sdk: Optional[str] = None,
            cpln_id: Optional[str] = None,
            description: Optional[str] = None,
            dictionary: Optional[Mapping[str, str]] = None,
            dictionary_as_envs: Optional[Mapping[str, Any]] = None,
            docker: Optional[str] = None,
            ecr: Optional[SecretEcrArgs] = None,
            gcp: Optional[str] = None,
            keypair: Optional[SecretKeypairArgs] = None,
            name: Optional[str] = None,
            nats_account: Optional[SecretNatsAccountArgs] = None,
            opaque: Optional[SecretOpaqueArgs] = None,
            secret_link: Optional[str] = None,
            self_link: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tls: Optional[SecretTlsArgs] = None,
            userpass: Optional[SecretUserpassArgs] = None) -> Secret
    func GetSecret(ctx *Context, name string, id IDInput, state *SecretState, opts ...ResourceOption) (*Secret, error)
    public static Secret Get(string name, Input<string> id, SecretState? state, CustomResourceOptions? opts = null)
    public static Secret get(String name, Output<String> id, SecretState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Aws Pulumiverse.Cpln.Inputs.SecretAws
    Reference Page.
    AzureConnector Pulumiverse.Cpln.Inputs.SecretAzureConnector
    Reference Page.
    AzureSdk string
    JSON string containing the Docker secret. Reference Page.
    CplnId string
    The ID, in GUID format, of the Secret.
    Description string
    Description of the Secret.
    Dictionary Dictionary<string, string>
    List of unique key-value pairs. Reference Page.
    DictionaryAsEnvs Dictionary<string, object>
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    Docker string
    JSON string containing the Docker secret. Reference Page.
    Ecr Pulumiverse.Cpln.Inputs.SecretEcr
    Reference Page
    Gcp string
    JSON string containing the GCP secret. Reference Page
    Keypair Pulumiverse.Cpln.Inputs.SecretKeypair
    Reference Page.
    Name string
    Name of the secret.
    NatsAccount Pulumiverse.Cpln.Inputs.SecretNatsAccount
    Reference Page.
    Opaque Pulumiverse.Cpln.Inputs.SecretOpaque
    Reference Page.
    SecretLink string
    Output used when linking a secret to an environment variable or volume.
    SelfLink string
    Full link to this resource. Can be referenced by other resources.
    Tags Dictionary<string, string>
    Key-value map of resource tags.
    Tls Pulumiverse.Cpln.Inputs.SecretTls
    Reference Page.
    Userpass Pulumiverse.Cpln.Inputs.SecretUserpass
    Reference Page.
    Aws SecretAwsArgs
    Reference Page.
    AzureConnector SecretAzureConnectorArgs
    Reference Page.
    AzureSdk string
    JSON string containing the Docker secret. Reference Page.
    CplnId string
    The ID, in GUID format, of the Secret.
    Description string
    Description of the Secret.
    Dictionary map[string]string
    List of unique key-value pairs. Reference Page.
    DictionaryAsEnvs map[string]interface{}
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    Docker string
    JSON string containing the Docker secret. Reference Page.
    Ecr SecretEcrArgs
    Reference Page
    Gcp string
    JSON string containing the GCP secret. Reference Page
    Keypair SecretKeypairArgs
    Reference Page.
    Name string
    Name of the secret.
    NatsAccount SecretNatsAccountArgs
    Reference Page.
    Opaque SecretOpaqueArgs
    Reference Page.
    SecretLink string
    Output used when linking a secret to an environment variable or volume.
    SelfLink string
    Full link to this resource. Can be referenced by other resources.
    Tags map[string]string
    Key-value map of resource tags.
    Tls SecretTlsArgs
    Reference Page.
    Userpass SecretUserpassArgs
    Reference Page.
    aws SecretAws
    Reference Page.
    azureConnector SecretAzureConnector
    Reference Page.
    azureSdk String
    JSON string containing the Docker secret. Reference Page.
    cplnId String
    The ID, in GUID format, of the Secret.
    description String
    Description of the Secret.
    dictionary Map<String,String>
    List of unique key-value pairs. Reference Page.
    dictionaryAsEnvs Map<String,Object>
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    docker String
    JSON string containing the Docker secret. Reference Page.
    ecr SecretEcr
    Reference Page
    gcp String
    JSON string containing the GCP secret. Reference Page
    keypair SecretKeypair
    Reference Page.
    name String
    Name of the secret.
    natsAccount SecretNatsAccount
    Reference Page.
    opaque SecretOpaque
    Reference Page.
    secretLink String
    Output used when linking a secret to an environment variable or volume.
    selfLink String
    Full link to this resource. Can be referenced by other resources.
    tags Map<String,String>
    Key-value map of resource tags.
    tls SecretTls
    Reference Page.
    userpass SecretUserpass
    Reference Page.
    aws SecretAws
    Reference Page.
    azureConnector SecretAzureConnector
    Reference Page.
    azureSdk string
    JSON string containing the Docker secret. Reference Page.
    cplnId string
    The ID, in GUID format, of the Secret.
    description string
    Description of the Secret.
    dictionary {[key: string]: string}
    List of unique key-value pairs. Reference Page.
    dictionaryAsEnvs {[key: string]: any}
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    docker string
    JSON string containing the Docker secret. Reference Page.
    ecr SecretEcr
    Reference Page
    gcp string
    JSON string containing the GCP secret. Reference Page
    keypair SecretKeypair
    Reference Page.
    name string
    Name of the secret.
    natsAccount SecretNatsAccount
    Reference Page.
    opaque SecretOpaque
    Reference Page.
    secretLink string
    Output used when linking a secret to an environment variable or volume.
    selfLink string
    Full link to this resource. Can be referenced by other resources.
    tags {[key: string]: string}
    Key-value map of resource tags.
    tls SecretTls
    Reference Page.
    userpass SecretUserpass
    Reference Page.
    aws SecretAwsArgs
    Reference Page.
    azure_connector SecretAzureConnectorArgs
    Reference Page.
    azure_sdk str
    JSON string containing the Docker secret. Reference Page.
    cpln_id str
    The ID, in GUID format, of the Secret.
    description str
    Description of the Secret.
    dictionary Mapping[str, str]
    List of unique key-value pairs. Reference Page.
    dictionary_as_envs Mapping[str, Any]
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    docker str
    JSON string containing the Docker secret. Reference Page.
    ecr SecretEcrArgs
    Reference Page
    gcp str
    JSON string containing the GCP secret. Reference Page
    keypair SecretKeypairArgs
    Reference Page.
    name str
    Name of the secret.
    nats_account SecretNatsAccountArgs
    Reference Page.
    opaque SecretOpaqueArgs
    Reference Page.
    secret_link str
    Output used when linking a secret to an environment variable or volume.
    self_link str
    Full link to this resource. Can be referenced by other resources.
    tags Mapping[str, str]
    Key-value map of resource tags.
    tls SecretTlsArgs
    Reference Page.
    userpass SecretUserpassArgs
    Reference Page.
    aws Property Map
    Reference Page.
    azureConnector Property Map
    Reference Page.
    azureSdk String
    JSON string containing the Docker secret. Reference Page.
    cplnId String
    The ID, in GUID format, of the Secret.
    description String
    Description of the Secret.
    dictionary Map<String>
    List of unique key-value pairs. Reference Page.
    dictionaryAsEnvs Map<Any>
    If a dictionary secret is defined, this output will be a key-value map in the following format: key = cpln://secret/SECRET_NAME.key.
    docker String
    JSON string containing the Docker secret. Reference Page.
    ecr Property Map
    Reference Page
    gcp String
    JSON string containing the GCP secret. Reference Page
    keypair Property Map
    Reference Page.
    name String
    Name of the secret.
    natsAccount Property Map
    Reference Page.
    opaque Property Map
    Reference Page.
    secretLink String
    Output used when linking a secret to an environment variable or volume.
    selfLink String
    Full link to this resource. Can be referenced by other resources.
    tags Map<String>
    Key-value map of resource tags.
    tls Property Map
    Reference Page.
    userpass Property Map
    Reference Page.

    Supporting Types

    SecretAws, SecretAwsArgs

    AccessKey string
    SecretKey string
    ExternalId string
    RoleArn string
    AccessKey string
    SecretKey string
    ExternalId string
    RoleArn string
    accessKey String
    secretKey String
    externalId String
    roleArn String
    accessKey string
    secretKey string
    externalId string
    roleArn string
    accessKey String
    secretKey String
    externalId String
    roleArn String

    SecretAzureConnector, SecretAzureConnectorArgs

    Code string
    Url string
    Code string
    Url string
    code String
    url String
    code string
    url string
    code str
    url str
    code String
    url String

    SecretEcr, SecretEcrArgs

    AccessKey string
    Repos List<string>
    SecretKey string
    ExternalId string
    RoleArn string
    AccessKey string
    Repos []string
    SecretKey string
    ExternalId string
    RoleArn string
    accessKey String
    repos List<String>
    secretKey String
    externalId String
    roleArn String
    accessKey string
    repos string[]
    secretKey string
    externalId string
    roleArn string
    access_key str
    repos Sequence[str]
    secret_key str
    external_id str
    role_arn str
    accessKey String
    repos List<String>
    secretKey String
    externalId String
    roleArn String

    SecretKeypair, SecretKeypairArgs

    SecretKey string
    Passphrase string
    PublicKey string
    SecretKey string
    Passphrase string
    PublicKey string
    secretKey String
    passphrase String
    publicKey String
    secretKey string
    passphrase string
    publicKey string
    secretKey String
    passphrase String
    publicKey String

    SecretNatsAccount, SecretNatsAccountArgs

    AccountId string
    PrivateKey string
    AccountId string
    PrivateKey string
    accountId String
    privateKey String
    accountId string
    privateKey string
    accountId String
    privateKey String

    SecretOpaque, SecretOpaqueArgs

    Payload string
    Encoding string
    Payload string
    Encoding string
    payload String
    encoding String
    payload string
    encoding string
    payload String
    encoding String

    SecretTls, SecretTlsArgs

    Cert string
    Key string
    Chain string
    Cert string
    Key string
    Chain string
    cert String
    key String
    chain String
    cert string
    key string
    chain string
    cert str
    key str
    chain str
    cert String
    key String
    chain String

    SecretUserpass, SecretUserpassArgs

    Password string
    Username string
    Encoding string
    Password string
    Username string
    Encoding string
    password String
    username String
    encoding String
    password string
    username string
    encoding string
    password String
    username String
    encoding String

    Package Details

    Repository
    cpln pulumiverse/pulumi-cpln
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cpln Terraform Provider.
    cpln logo
    Control Plane v0.0.47 published on Saturday, Nov 9, 2024 by pulumiverse