GetSecrets
Decrypt multiple secrets from data encrypted with the AWS KMS service.
Using GetSecrets
function getSecrets(args: GetSecretsArgs, opts?: InvokeOptions): Promise<GetSecretsResult>function get_secrets(secrets=None, opts=None)func GetSecrets(ctx *Context, args *GetSecretsArgs, opts ...InvokeOption) (*GetSecretsResult, error)public static class GetSecrets {
public static Task<GetSecretsResult> InvokeAsync(GetSecretsArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Secrets
List<Get
Secrets Secret Args> One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
- Secrets
[]Get
Secrets Secret One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
- secrets
Get
Secrets Secret[] One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
- secrets
List[Get
Secrets Secret] One or more encrypted payload definitions from the KMS service. See the Secret Definitions below.
GetSecrets Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Plaintext Dictionary<string, string>
Map containing each
secretnameas the key with its decrypted plaintext value- Secrets
List<Get
Secrets Secret>
- Id string
The provider-assigned unique ID for this managed resource.
- Plaintext map[string]string
Map containing each
secretnameas the key with its decrypted plaintext value- Secrets
[]Get
Secrets Secret
- id string
The provider-assigned unique ID for this managed resource.
- plaintext {[key: string]: string}
Map containing each
secretnameas the key with its decrypted plaintext value- secrets
Get
Secrets Secret[]
- id str
The provider-assigned unique ID for this managed resource.
- plaintext Dict[str, str]
Map containing each
secretnameas the key with its decrypted plaintext value- secrets
List[Get
Secrets Secret]
Supporting Types
GetSecretsSecret
- Name string
The name to export this secret under in the attributes.
- Payload string
Base64 encoded payload, as returned from a KMS encrypt operation.
- Context Dictionary<string, string>
An optional mapping that makes up the Encryption Context for the secret.
- Grant
Tokens List<string> An optional list of Grant Tokens for the secret.
- Name string
The name to export this secret under in the attributes.
- Payload string
Base64 encoded payload, as returned from a KMS encrypt operation.
- Context map[string]string
An optional mapping that makes up the Encryption Context for the secret.
- Grant
Tokens []string An optional list of Grant Tokens for the secret.
- name string
The name to export this secret under in the attributes.
- payload string
Base64 encoded payload, as returned from a KMS encrypt operation.
- context {[key: string]: string}
An optional mapping that makes up the Encryption Context for the secret.
- grant
Tokens string[] An optional list of Grant Tokens for the secret.
- name str
The name to export this secret under in the attributes.
- payload str
Base64 encoded payload, as returned from a KMS encrypt operation.
- context Dict[str, str]
An optional mapping that makes up the Encryption Context for the secret.
- grant
Tokens List[str] An optional list of Grant Tokens for the secret.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.