cpln.Secret
Explore with Pulumi AI
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. Secret Aws 
- Reference Page.
- AzureConnector Pulumiverse.Cpln. Inputs. Secret Azure Connector 
- 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. Secret Ecr 
- Reference Page
- Gcp string
- JSON string containing the GCP secret. Reference Page
- Keypair
Pulumiverse.Cpln. Inputs. Secret Keypair 
- Reference Page.
- Name string
- Name of the secret.
- NatsAccount Pulumiverse.Cpln. Inputs. Secret Nats Account 
- Reference Page.
- Opaque
Pulumiverse.Cpln. Inputs. Secret Opaque 
- Reference Page.
- Dictionary<string, string>
- Key-value map of resource tags.
- Tls
Pulumiverse.Cpln. Inputs. Secret Tls 
- Reference Page.
- Userpass
Pulumiverse.Cpln. Inputs. Secret Userpass 
- Reference Page.
- Aws
SecretAws Args 
- Reference Page.
- AzureConnector SecretAzure Connector Args 
- 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 Args 
- Reference Page
- Gcp string
- JSON string containing the GCP secret. Reference Page
- Keypair
SecretKeypair Args 
- Reference Page.
- Name string
- Name of the secret.
- NatsAccount SecretNats Account Args 
- Reference Page.
- Opaque
SecretOpaque Args 
- Reference Page.
- map[string]string
- Key-value map of resource tags.
- Tls
SecretTls Args 
- Reference Page.
- Userpass
SecretUserpass Args 
- Reference Page.
- aws
SecretAws 
- Reference Page.
- azureConnector SecretAzure Connector 
- 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 SecretNats Account 
- Reference Page.
- opaque
SecretOpaque 
- Reference Page.
- Map<String,String>
- Key-value map of resource tags.
- tls
SecretTls 
- Reference Page.
- userpass
SecretUserpass 
- Reference Page.
- aws
SecretAws 
- Reference Page.
- azureConnector SecretAzure Connector 
- 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 SecretNats Account 
- Reference Page.
- opaque
SecretOpaque 
- Reference Page.
- {[key: string]: string}
- Key-value map of resource tags.
- tls
SecretTls 
- Reference Page.
- userpass
SecretUserpass 
- Reference Page.
- aws
SecretAws Args 
- Reference Page.
- azure_connector SecretAzure Connector Args 
- 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
SecretEcr Args 
- Reference Page
- gcp str
- JSON string containing the GCP secret. Reference Page
- keypair
SecretKeypair Args 
- Reference Page.
- name str
- Name of the secret.
- nats_account SecretNats Account Args 
- Reference Page.
- opaque
SecretOpaque Args 
- Reference Page.
- Mapping[str, str]
- Key-value map of resource tags.
- tls
SecretTls Args 
- Reference Page.
- userpass
SecretUserpass Args 
- 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.
- 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.
- DictionaryAs Dictionary<string, string>Envs 
- 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.
- DictionaryAs map[string]stringEnvs 
- 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.
- dictionaryAs Map<String,String>Envs 
- 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.
- dictionaryAs {[key: string]: string}Envs 
- 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_ Mapping[str, str]envs 
- 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.
- dictionaryAs Map<String>Envs 
- 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, 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,
        secret_link: Optional[str] = None,
        self_link: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tls: Optional[SecretTlsArgs] = None,
        userpass: Optional[SecretUserpassArgs] = None) -> Secretfunc 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)resources:  _:    type: cpln:Secret    get:      id: ${id}- 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.
- Aws
Pulumiverse.Cpln. Inputs. Secret Aws 
- Reference Page.
- AzureConnector Pulumiverse.Cpln. Inputs. Secret Azure Connector 
- 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.
- DictionaryAs Dictionary<string, string>Envs 
- 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. Secret Ecr 
- Reference Page
- Gcp string
- JSON string containing the GCP secret. Reference Page
- Keypair
Pulumiverse.Cpln. Inputs. Secret Keypair 
- Reference Page.
- Name string
- Name of the secret.
- NatsAccount Pulumiverse.Cpln. Inputs. Secret Nats Account 
- Reference Page.
- Opaque
Pulumiverse.Cpln. Inputs. Secret Opaque 
- 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.
- Dictionary<string, string>
- Key-value map of resource tags.
- Tls
Pulumiverse.Cpln. Inputs. Secret Tls 
- Reference Page.
- Userpass
Pulumiverse.Cpln. Inputs. Secret Userpass 
- Reference Page.
- Aws
SecretAws Args 
- Reference Page.
- AzureConnector SecretAzure Connector Args 
- 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.
- DictionaryAs map[string]stringEnvs 
- 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 Args 
- Reference Page
- Gcp string
- JSON string containing the GCP secret. Reference Page
- Keypair
SecretKeypair Args 
- Reference Page.
- Name string
- Name of the secret.
- NatsAccount SecretNats Account Args 
- Reference Page.
- Opaque
SecretOpaque Args 
- 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.
- map[string]string
- Key-value map of resource tags.
- Tls
SecretTls Args 
- Reference Page.
- Userpass
SecretUserpass Args 
- Reference Page.
- aws
SecretAws 
- Reference Page.
- azureConnector SecretAzure Connector 
- 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.
- dictionaryAs Map<String,String>Envs 
- 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 SecretNats Account 
- 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.
- Map<String,String>
- Key-value map of resource tags.
- tls
SecretTls 
- Reference Page.
- userpass
SecretUserpass 
- Reference Page.
- aws
SecretAws 
- Reference Page.
- azureConnector SecretAzure Connector 
- 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.
- dictionaryAs {[key: string]: string}Envs 
- 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 SecretNats Account 
- 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.
- {[key: string]: string}
- Key-value map of resource tags.
- tls
SecretTls 
- Reference Page.
- userpass
SecretUserpass 
- Reference Page.
- aws
SecretAws Args 
- Reference Page.
- azure_connector SecretAzure Connector Args 
- 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_ Mapping[str, str]envs 
- 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
SecretEcr Args 
- Reference Page
- gcp str
- JSON string containing the GCP secret. Reference Page
- keypair
SecretKeypair Args 
- Reference Page.
- name str
- Name of the secret.
- nats_account SecretNats Account Args 
- Reference Page.
- opaque
SecretOpaque Args 
- 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.
- Mapping[str, str]
- Key-value map of resource tags.
- tls
SecretTls Args 
- Reference Page.
- userpass
SecretUserpass Args 
- 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.
- dictionaryAs Map<String>Envs 
- 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.
- Map<String>
- Key-value map of resource tags.
- tls Property Map
- Reference Page.
- userpass Property Map
- Reference Page.
Supporting Types
SecretAws, SecretAwsArgs    
- AccessKey string
- Access Key provided by AWS.
- SecretKey string
- Secret Key provided by AWS.
- ExternalId string
- AWS IAM Role External ID.
- RoleArn string
- Role ARN provided by AWS.
- AccessKey string
- Access Key provided by AWS.
- SecretKey string
- Secret Key provided by AWS.
- ExternalId string
- AWS IAM Role External ID.
- RoleArn string
- Role ARN provided by AWS.
- accessKey String
- Access Key provided by AWS.
- secretKey String
- Secret Key provided by AWS.
- externalId String
- AWS IAM Role External ID.
- roleArn String
- Role ARN provided by AWS.
- accessKey string
- Access Key provided by AWS.
- secretKey string
- Secret Key provided by AWS.
- externalId string
- AWS IAM Role External ID.
- roleArn string
- Role ARN provided by AWS.
- access_key str
- Access Key provided by AWS.
- secret_key str
- Secret Key provided by AWS.
- external_id str
- AWS IAM Role External ID.
- role_arn str
- Role ARN provided by AWS.
- accessKey String
- Access Key provided by AWS.
- secretKey String
- Secret Key provided by AWS.
- externalId String
- AWS IAM Role External ID.
- roleArn String
- Role ARN provided by AWS.
SecretAzureConnector, SecretAzureConnectorArgs      
SecretEcr, SecretEcrArgs    
- AccessKey string
- Access Key provided by AWS.
- Repos List<string>
- List of ECR repositories.
- SecretKey string
- Secret Key provided by AWS.
- ExternalId string
- AWS IAM Role External ID. Used when setting up cross-account access to your ECR repositories.
- RoleArn string
- Role ARN provided by AWS.
- AccessKey string
- Access Key provided by AWS.
- Repos []string
- List of ECR repositories.
- SecretKey string
- Secret Key provided by AWS.
- ExternalId string
- AWS IAM Role External ID. Used when setting up cross-account access to your ECR repositories.
- RoleArn string
- Role ARN provided by AWS.
- accessKey String
- Access Key provided by AWS.
- repos List<String>
- List of ECR repositories.
- secretKey String
- Secret Key provided by AWS.
- externalId String
- AWS IAM Role External ID. Used when setting up cross-account access to your ECR repositories.
- roleArn String
- Role ARN provided by AWS.
- accessKey string
- Access Key provided by AWS.
- repos string[]
- List of ECR repositories.
- secretKey string
- Secret Key provided by AWS.
- externalId string
- AWS IAM Role External ID. Used when setting up cross-account access to your ECR repositories.
- roleArn string
- Role ARN provided by AWS.
- access_key str
- Access Key provided by AWS.
- repos Sequence[str]
- List of ECR repositories.
- secret_key str
- Secret Key provided by AWS.
- external_id str
- AWS IAM Role External ID. Used when setting up cross-account access to your ECR repositories.
- role_arn str
- Role ARN provided by AWS.
- accessKey String
- Access Key provided by AWS.
- repos List<String>
- List of ECR repositories.
- secretKey String
- Secret Key provided by AWS.
- externalId String
- AWS IAM Role External ID. Used when setting up cross-account access to your ECR repositories.
- roleArn String
- Role ARN provided by AWS.
SecretKeypair, SecretKeypairArgs    
- SecretKey string
- Secret/Private Key.
- Passphrase string
- Passphrase for private key.
- PublicKey string
- Public Key.
- SecretKey string
- Secret/Private Key.
- Passphrase string
- Passphrase for private key.
- PublicKey string
- Public Key.
- secretKey String
- Secret/Private Key.
- passphrase String
- Passphrase for private key.
- publicKey String
- Public Key.
- secretKey string
- Secret/Private Key.
- passphrase string
- Passphrase for private key.
- publicKey string
- Public Key.
- secret_key str
- Secret/Private Key.
- passphrase str
- Passphrase for private key.
- public_key str
- Public Key.
- secretKey String
- Secret/Private Key.
- passphrase String
- Passphrase for private key.
- publicKey String
- Public Key.
SecretNatsAccount, SecretNatsAccountArgs      
- AccountId string
- Account ID.
- PrivateKey string
- Private Key.
- AccountId string
- Account ID.
- PrivateKey string
- Private Key.
- accountId String
- Account ID.
- privateKey String
- Private Key.
- accountId string
- Account ID.
- privateKey string
- Private Key.
- account_id str
- Account ID.
- private_key str
- Private Key.
- accountId String
- Account ID.
- privateKey String
- Private Key.
SecretOpaque, SecretOpaqueArgs    
SecretTls, SecretTlsArgs    
SecretUserpass, SecretUserpassArgs    
Package Details
- Repository
- cpln pulumiverse/pulumi-cpln
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cplnTerraform Provider.
