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.
- Azure
Connector Pulumiverse.Cpln. Inputs. Secret Azure Connector - Reference Page.
- Azure
Sdk 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.
- Nats
Account 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
Secret
Aws Args - Reference Page.
- Azure
Connector SecretAzure Connector Args - Reference Page.
- Azure
Sdk 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
Secret
Ecr Args - Reference Page
- Gcp string
- JSON string containing the GCP secret. Reference Page
- Keypair
Secret
Keypair Args - Reference Page.
- Name string
- Name of the secret.
- Nats
Account SecretNats Account Args - Reference Page.
- Opaque
Secret
Opaque Args - Reference Page.
- map[string]string
- Key-value map of resource tags.
- Tls
Secret
Tls Args - Reference Page.
- Userpass
Secret
Userpass Args - Reference Page.
- aws
Secret
Aws - Reference Page.
- azure
Connector SecretAzure Connector - Reference Page.
- azure
Sdk 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
Secret
Ecr - Reference Page
- gcp String
- JSON string containing the GCP secret. Reference Page
- keypair
Secret
Keypair - Reference Page.
- name String
- Name of the secret.
- nats
Account SecretNats Account - Reference Page.
- opaque
Secret
Opaque - Reference Page.
- Map<String,String>
- Key-value map of resource tags.
- tls
Secret
Tls - Reference Page.
- userpass
Secret
Userpass - Reference Page.
- aws
Secret
Aws - Reference Page.
- azure
Connector SecretAzure Connector - Reference Page.
- azure
Sdk 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
Secret
Ecr - Reference Page
- gcp string
- JSON string containing the GCP secret. Reference Page
- keypair
Secret
Keypair - Reference Page.
- name string
- Name of the secret.
- nats
Account SecretNats Account - Reference Page.
- opaque
Secret
Opaque - Reference Page.
- {[key: string]: string}
- Key-value map of resource tags.
- tls
Secret
Tls - Reference Page.
- userpass
Secret
Userpass - Reference Page.
- aws
Secret
Aws 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
Secret
Ecr Args - Reference Page
- gcp str
- JSON string containing the GCP secret. Reference Page
- keypair
Secret
Keypair Args - Reference Page.
- name str
- Name of the secret.
- nats_
account SecretNats Account Args - Reference Page.
- opaque
Secret
Opaque Args - Reference Page.
- Mapping[str, str]
- Key-value map of resource tags.
- tls
Secret
Tls Args - Reference Page.
- userpass
Secret
Userpass Args - Reference Page.
- aws Property Map
- Reference Page.
- azure
Connector Property Map - Reference Page.
- azure
Sdk 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.
- nats
Account 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:
- Cpln
Id string - The ID, in GUID format, of the Secret.
- Dictionary
As Dictionary<string, object>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.
- Secret
Link string - Output used when linking a secret to an environment variable or volume.
- Self
Link string - Full link to this resource. Can be referenced by other resources.
- Cpln
Id string - The ID, in GUID format, of the Secret.
- Dictionary
As map[string]interface{}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.
- Secret
Link string - Output used when linking a secret to an environment variable or volume.
- Self
Link string - Full link to this resource. Can be referenced by other resources.
- cpln
Id String - The ID, in GUID format, of the Secret.
- dictionary
As Map<String,Object>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.
- secret
Link String - Output used when linking a secret to an environment variable or volume.
- self
Link String - Full link to this resource. Can be referenced by other resources.
- cpln
Id string - The ID, in GUID format, of the Secret.
- dictionary
As {[key: string]: any}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.
- secret
Link string - Output used when linking a secret to an environment variable or volume.
- self
Link 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, Any]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.
- cpln
Id String - The ID, in GUID format, of the Secret.
- dictionary
As Map<Any>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.
- secret
Link String - Output used when linking a secret to an environment variable or volume.
- self
Link 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.
- Aws
Pulumiverse.
Cpln. Inputs. Secret Aws - Reference Page.
- Azure
Connector Pulumiverse.Cpln. Inputs. Secret Azure Connector - Reference Page.
- Azure
Sdk string - JSON string containing the Docker secret. Reference Page.
- Cpln
Id 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.
- Dictionary
As Dictionary<string, object>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.
- Nats
Account Pulumiverse.Cpln. Inputs. Secret Nats Account - Reference Page.
- Opaque
Pulumiverse.
Cpln. Inputs. Secret Opaque - Reference Page.
- Secret
Link string - Output used when linking a secret to an environment variable or volume.
- Self
Link 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
Secret
Aws Args - Reference Page.
- Azure
Connector SecretAzure Connector Args - Reference Page.
- Azure
Sdk string - JSON string containing the Docker secret. Reference Page.
- Cpln
Id 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.
- Dictionary
As map[string]interface{}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
Secret
Ecr Args - Reference Page
- Gcp string
- JSON string containing the GCP secret. Reference Page
- Keypair
Secret
Keypair Args - Reference Page.
- Name string
- Name of the secret.
- Nats
Account SecretNats Account Args - Reference Page.
- Opaque
Secret
Opaque Args - Reference Page.
- Secret
Link string - Output used when linking a secret to an environment variable or volume.
- Self
Link string - Full link to this resource. Can be referenced by other resources.
- map[string]string
- Key-value map of resource tags.
- Tls
Secret
Tls Args - Reference Page.
- Userpass
Secret
Userpass Args - Reference Page.
- aws
Secret
Aws - Reference Page.
- azure
Connector SecretAzure Connector - Reference Page.
- azure
Sdk String - JSON string containing the Docker secret. Reference Page.
- cpln
Id 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.
- dictionary
As Map<String,Object>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
Secret
Ecr - Reference Page
- gcp String
- JSON string containing the GCP secret. Reference Page
- keypair
Secret
Keypair - Reference Page.
- name String
- Name of the secret.
- nats
Account SecretNats Account - Reference Page.
- opaque
Secret
Opaque - Reference Page.
- secret
Link String - Output used when linking a secret to an environment variable or volume.
- self
Link String - Full link to this resource. Can be referenced by other resources.
- Map<String,String>
- Key-value map of resource tags.
- tls
Secret
Tls - Reference Page.
- userpass
Secret
Userpass - Reference Page.
- aws
Secret
Aws - Reference Page.
- azure
Connector SecretAzure Connector - Reference Page.
- azure
Sdk string - JSON string containing the Docker secret. Reference Page.
- cpln
Id 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.
- dictionary
As {[key: string]: any}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
Secret
Ecr - Reference Page
- gcp string
- JSON string containing the GCP secret. Reference Page
- keypair
Secret
Keypair - Reference Page.
- name string
- Name of the secret.
- nats
Account SecretNats Account - Reference Page.
- opaque
Secret
Opaque - Reference Page.
- secret
Link string - Output used when linking a secret to an environment variable or volume.
- self
Link string - Full link to this resource. Can be referenced by other resources.
- {[key: string]: string}
- Key-value map of resource tags.
- tls
Secret
Tls - Reference Page.
- userpass
Secret
Userpass - Reference Page.
- aws
Secret
Aws 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, Any]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
Secret
Ecr Args - Reference Page
- gcp str
- JSON string containing the GCP secret. Reference Page
- keypair
Secret
Keypair Args - Reference Page.
- name str
- Name of the secret.
- nats_
account SecretNats Account Args - Reference Page.
- opaque
Secret
Opaque 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
Secret
Tls Args - Reference Page.
- userpass
Secret
Userpass Args - Reference Page.
- aws Property Map
- Reference Page.
- azure
Connector Property Map - Reference Page.
- azure
Sdk String - JSON string containing the Docker secret. Reference Page.
- cpln
Id 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.
- dictionary
As Map<Any>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.
- nats
Account Property Map - Reference Page.
- opaque Property Map
- Reference Page.
- secret
Link String - Output used when linking a secret to an environment variable or volume.
- self
Link 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
- Access
Key string - Secret
Key string - External
Id string - Role
Arn string
- Access
Key string - Secret
Key string - External
Id string - Role
Arn string
- access
Key String - secret
Key String - external
Id String - role
Arn String
- access
Key string - secret
Key string - external
Id string - role
Arn string
- access_
key str - secret_
key str - external_
id str - role_
arn str
- access
Key String - secret
Key String - external
Id String - role
Arn String
SecretAzureConnector, SecretAzureConnectorArgs
SecretEcr, SecretEcrArgs
- Access
Key string - Repos List<string>
- Secret
Key string - External
Id string - Role
Arn string
- Access
Key string - Repos []string
- Secret
Key string - External
Id string - Role
Arn string
- access
Key String - repos List<String>
- secret
Key String - external
Id String - role
Arn String
- access
Key string - repos string[]
- secret
Key string - external
Id string - role
Arn string
- access_
key str - repos Sequence[str]
- secret_
key str - external_
id str - role_
arn str
- access
Key String - repos List<String>
- secret
Key String - external
Id String - role
Arn String
SecretKeypair, SecretKeypairArgs
- Secret
Key string - Passphrase string
- Public
Key string
- Secret
Key string - Passphrase string
- Public
Key string
- secret
Key String - passphrase String
- public
Key String
- secret
Key string - passphrase string
- public
Key string
- secret_
key str - passphrase str
- public_
key str
- secret
Key String - passphrase String
- public
Key String
SecretNatsAccount, SecretNatsAccountArgs
- Account
Id string - Private
Key string
- Account
Id string - Private
Key string
- account
Id String - private
Key String
- account
Id string - private
Key string
- account_
id str - private_
key str
- account
Id String - private
Key String
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
cpln
Terraform Provider.