Documentation
¶
Index ¶
- type Alias
- type AliasArgs
- type AliasState
- type Ciphertext
- type CiphertextArgs
- type CiphertextState
- type GetAliasesAlias
- type GetAliasesAliasArgs
- type GetAliasesAliasArray
- type GetAliasesAliasArrayInput
- type GetAliasesAliasArrayOutput
- func (GetAliasesAliasArrayOutput) ElementType() reflect.Type
- func (o GetAliasesAliasArrayOutput) Index(i pulumi.IntInput) GetAliasesAliasOutput
- func (o GetAliasesAliasArrayOutput) ToGetAliasesAliasArrayOutput() GetAliasesAliasArrayOutput
- func (o GetAliasesAliasArrayOutput) ToGetAliasesAliasArrayOutputWithContext(ctx context.Context) GetAliasesAliasArrayOutput
- type GetAliasesAliasInput
- type GetAliasesAliasOutput
- func (o GetAliasesAliasOutput) AliasName() pulumi.StringOutput
- func (GetAliasesAliasOutput) ElementType() reflect.Type
- func (o GetAliasesAliasOutput) Id() pulumi.StringOutput
- func (o GetAliasesAliasOutput) KeyId() pulumi.StringOutput
- func (o GetAliasesAliasOutput) ToGetAliasesAliasOutput() GetAliasesAliasOutput
- func (o GetAliasesAliasOutput) ToGetAliasesAliasOutputWithContext(ctx context.Context) GetAliasesAliasOutput
- type GetAliasesArgs
- type GetAliasesResult
- type GetKeyVersionsArgs
- type GetKeyVersionsResult
- type GetKeyVersionsVersion
- type GetKeyVersionsVersionArgs
- type GetKeyVersionsVersionArray
- func (GetKeyVersionsVersionArray) ElementType() reflect.Type
- func (i GetKeyVersionsVersionArray) ToGetKeyVersionsVersionArrayOutput() GetKeyVersionsVersionArrayOutput
- func (i GetKeyVersionsVersionArray) ToGetKeyVersionsVersionArrayOutputWithContext(ctx context.Context) GetKeyVersionsVersionArrayOutput
- type GetKeyVersionsVersionArrayInput
- type GetKeyVersionsVersionArrayOutput
- func (GetKeyVersionsVersionArrayOutput) ElementType() reflect.Type
- func (o GetKeyVersionsVersionArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsVersionOutput
- func (o GetKeyVersionsVersionArrayOutput) ToGetKeyVersionsVersionArrayOutput() GetKeyVersionsVersionArrayOutput
- func (o GetKeyVersionsVersionArrayOutput) ToGetKeyVersionsVersionArrayOutputWithContext(ctx context.Context) GetKeyVersionsVersionArrayOutput
- type GetKeyVersionsVersionInput
- type GetKeyVersionsVersionOutput
- func (o GetKeyVersionsVersionOutput) CreationDate() pulumi.StringOutput
- func (GetKeyVersionsVersionOutput) ElementType() reflect.Type
- func (o GetKeyVersionsVersionOutput) Id() pulumi.StringOutput
- func (o GetKeyVersionsVersionOutput) KeyId() pulumi.StringOutput
- func (o GetKeyVersionsVersionOutput) KeyVersionId() pulumi.StringOutput
- func (o GetKeyVersionsVersionOutput) ToGetKeyVersionsVersionOutput() GetKeyVersionsVersionOutput
- func (o GetKeyVersionsVersionOutput) ToGetKeyVersionsVersionOutputWithContext(ctx context.Context) GetKeyVersionsVersionOutput
- type GetKeysArgs
- type GetKeysKey
- type GetKeysKeyArgs
- type GetKeysKeyArray
- type GetKeysKeyArrayInput
- type GetKeysKeyArrayOutput
- func (GetKeysKeyArrayOutput) ElementType() reflect.Type
- func (o GetKeysKeyArrayOutput) Index(i pulumi.IntInput) GetKeysKeyOutput
- func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput
- func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput
- type GetKeysKeyInput
- type GetKeysKeyOutput
- func (o GetKeysKeyOutput) Arn() pulumi.StringOutput
- func (o GetKeysKeyOutput) CreationDate() pulumi.StringOutput
- func (o GetKeysKeyOutput) Creator() pulumi.StringOutput
- func (o GetKeysKeyOutput) DeleteDate() pulumi.StringOutput
- func (o GetKeysKeyOutput) Description() pulumi.StringOutput
- func (GetKeysKeyOutput) ElementType() reflect.Type
- func (o GetKeysKeyOutput) Id() pulumi.StringOutput
- func (o GetKeysKeyOutput) Status() pulumi.StringOutput
- func (o GetKeysKeyOutput) ToGetKeysKeyOutput() GetKeysKeyOutput
- func (o GetKeysKeyOutput) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput
- type GetKeysResult
- type GetPlaintextArgs
- type GetPlaintextResult
- type GetSecretVersionsArgs
- type GetSecretVersionsResult
- type GetSecretVersionsVersion
- type GetSecretVersionsVersionArgs
- func (GetSecretVersionsVersionArgs) ElementType() reflect.Type
- func (i GetSecretVersionsVersionArgs) ToGetSecretVersionsVersionOutput() GetSecretVersionsVersionOutput
- func (i GetSecretVersionsVersionArgs) ToGetSecretVersionsVersionOutputWithContext(ctx context.Context) GetSecretVersionsVersionOutput
- type GetSecretVersionsVersionArray
- func (GetSecretVersionsVersionArray) ElementType() reflect.Type
- func (i GetSecretVersionsVersionArray) ToGetSecretVersionsVersionArrayOutput() GetSecretVersionsVersionArrayOutput
- func (i GetSecretVersionsVersionArray) ToGetSecretVersionsVersionArrayOutputWithContext(ctx context.Context) GetSecretVersionsVersionArrayOutput
- type GetSecretVersionsVersionArrayInput
- type GetSecretVersionsVersionArrayOutput
- func (GetSecretVersionsVersionArrayOutput) ElementType() reflect.Type
- func (o GetSecretVersionsVersionArrayOutput) Index(i pulumi.IntInput) GetSecretVersionsVersionOutput
- func (o GetSecretVersionsVersionArrayOutput) ToGetSecretVersionsVersionArrayOutput() GetSecretVersionsVersionArrayOutput
- func (o GetSecretVersionsVersionArrayOutput) ToGetSecretVersionsVersionArrayOutputWithContext(ctx context.Context) GetSecretVersionsVersionArrayOutput
- type GetSecretVersionsVersionInput
- type GetSecretVersionsVersionOutput
- func (GetSecretVersionsVersionOutput) ElementType() reflect.Type
- func (o GetSecretVersionsVersionOutput) SecretData() pulumi.StringOutput
- func (o GetSecretVersionsVersionOutput) SecretDataType() pulumi.StringOutput
- func (o GetSecretVersionsVersionOutput) SecretName() pulumi.StringOutput
- func (o GetSecretVersionsVersionOutput) ToGetSecretVersionsVersionOutput() GetSecretVersionsVersionOutput
- func (o GetSecretVersionsVersionOutput) ToGetSecretVersionsVersionOutputWithContext(ctx context.Context) GetSecretVersionsVersionOutput
- func (o GetSecretVersionsVersionOutput) VersionId() pulumi.StringOutput
- func (o GetSecretVersionsVersionOutput) VersionStages() pulumi.StringArrayOutput
- type GetSecretsArgs
- type GetSecretsResult
- type GetSecretsSecret
- type GetSecretsSecretArgs
- type GetSecretsSecretArray
- type GetSecretsSecretArrayInput
- type GetSecretsSecretArrayOutput
- func (GetSecretsSecretArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretOutput
- func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
- func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput
- type GetSecretsSecretInput
- type GetSecretsSecretOutput
- func (GetSecretsSecretOutput) ElementType() reflect.Type
- func (o GetSecretsSecretOutput) Id() pulumi.StringOutput
- func (o GetSecretsSecretOutput) PlannedDeleteTime() pulumi.StringOutput
- func (o GetSecretsSecretOutput) SecretName() pulumi.StringOutput
- func (o GetSecretsSecretOutput) Tags() pulumi.MapOutput
- func (o GetSecretsSecretOutput) ToGetSecretsSecretOutput() GetSecretsSecretOutput
- func (o GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput
- type Key
- type KeyArgs
- type KeyState
- type KeyVersion
- type KeyVersionArgs
- type KeyVersionState
- type LookupCiphertextArgs
- type LookupCiphertextResult
- type Secret
- type SecretArgs
- type SecretState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { pulumi.CustomResourceState // The alias of CMK. `Encrypt`、`GenerateDataKey`、`DescribeKey` can be called using aliases. Length of characters other than prefixes: minimum length of 1 character and maximum length of 255 characters. Must contain prefix `alias/`. AliasName pulumi.StringOutput `pulumi:"aliasName"` // The id of the key. KeyId pulumi.StringOutput `pulumi:"keyId"` }
Create an alias for the master key (CMK).
> **NOTE:** Available in v1.77.0+.
func GetAlias ¶
func GetAlias(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AliasState, opts ...pulumi.ResourceOption) (*Alias, error)
GetAlias gets an existing Alias resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type AliasArgs ¶
type AliasArgs struct { // The alias of CMK. `Encrypt`、`GenerateDataKey`、`DescribeKey` can be called using aliases. Length of characters other than prefixes: minimum length of 1 character and maximum length of 255 characters. Must contain prefix `alias/`. AliasName pulumi.StringInput // The id of the key. KeyId pulumi.StringInput }
The set of arguments for constructing a Alias resource.
func (AliasArgs) ElementType ¶
type AliasState ¶
type AliasState struct { // The alias of CMK. `Encrypt`、`GenerateDataKey`、`DescribeKey` can be called using aliases. Length of characters other than prefixes: minimum length of 1 character and maximum length of 255 characters. Must contain prefix `alias/`. AliasName pulumi.StringPtrInput // The id of the key. KeyId pulumi.StringPtrInput }
func (AliasState) ElementType ¶
func (AliasState) ElementType() reflect.Type
type Ciphertext ¶
type Ciphertext struct { pulumi.CustomResourceState // The ciphertext of the data key encrypted with the primary CMK version. CiphertextBlob pulumi.StringOutput `pulumi:"ciphertextBlob"` // - // (Optional, ForceNew) The Encryption context. If you specify this parameter here, it is also required when you call the Decrypt API operation. For more information, see [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). EncryptionContext pulumi.StringMapOutput `pulumi:"encryptionContext"` // The globally unique ID of the CMK. KeyId pulumi.StringOutput `pulumi:"keyId"` // The plaintext to be encrypted which must be encoded in Base64. Plaintext pulumi.StringOutput `pulumi:"plaintext"` }
func GetCiphertext ¶
func GetCiphertext(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CiphertextState, opts ...pulumi.ResourceOption) (*Ciphertext, error)
GetCiphertext gets an existing Ciphertext resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCiphertext ¶
func NewCiphertext(ctx *pulumi.Context, name string, args *CiphertextArgs, opts ...pulumi.ResourceOption) (*Ciphertext, error)
NewCiphertext registers a new resource with the given unique name, arguments, and options.
type CiphertextArgs ¶
type CiphertextArgs struct { // - // (Optional, ForceNew) The Encryption context. If you specify this parameter here, it is also required when you call the Decrypt API operation. For more information, see [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). EncryptionContext pulumi.StringMapInput // The globally unique ID of the CMK. KeyId pulumi.StringInput // The plaintext to be encrypted which must be encoded in Base64. Plaintext pulumi.StringInput }
The set of arguments for constructing a Ciphertext resource.
func (CiphertextArgs) ElementType ¶
func (CiphertextArgs) ElementType() reflect.Type
type CiphertextState ¶
type CiphertextState struct { // The ciphertext of the data key encrypted with the primary CMK version. CiphertextBlob pulumi.StringPtrInput // - // (Optional, ForceNew) The Encryption context. If you specify this parameter here, it is also required when you call the Decrypt API operation. For more information, see [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). EncryptionContext pulumi.StringMapInput // The globally unique ID of the CMK. KeyId pulumi.StringPtrInput // The plaintext to be encrypted which must be encoded in Base64. Plaintext pulumi.StringPtrInput }
func (CiphertextState) ElementType ¶
func (CiphertextState) ElementType() reflect.Type
type GetAliasesAlias ¶ added in v2.1.0
type GetAliasesAliasArgs ¶ added in v2.1.0
type GetAliasesAliasArgs struct { // The unique identifier of the alias. AliasName pulumi.StringInput `pulumi:"aliasName"` // ID of the alias. The value is same as KMS alias_name. Id pulumi.StringInput `pulumi:"id"` // ID of the key. KeyId pulumi.StringInput `pulumi:"keyId"` }
func (GetAliasesAliasArgs) ElementType ¶ added in v2.1.0
func (GetAliasesAliasArgs) ElementType() reflect.Type
func (GetAliasesAliasArgs) ToGetAliasesAliasOutput ¶ added in v2.1.0
func (i GetAliasesAliasArgs) ToGetAliasesAliasOutput() GetAliasesAliasOutput
func (GetAliasesAliasArgs) ToGetAliasesAliasOutputWithContext ¶ added in v2.1.0
func (i GetAliasesAliasArgs) ToGetAliasesAliasOutputWithContext(ctx context.Context) GetAliasesAliasOutput
type GetAliasesAliasArray ¶ added in v2.1.0
type GetAliasesAliasArray []GetAliasesAliasInput
func (GetAliasesAliasArray) ElementType ¶ added in v2.1.0
func (GetAliasesAliasArray) ElementType() reflect.Type
func (GetAliasesAliasArray) ToGetAliasesAliasArrayOutput ¶ added in v2.1.0
func (i GetAliasesAliasArray) ToGetAliasesAliasArrayOutput() GetAliasesAliasArrayOutput
func (GetAliasesAliasArray) ToGetAliasesAliasArrayOutputWithContext ¶ added in v2.1.0
func (i GetAliasesAliasArray) ToGetAliasesAliasArrayOutputWithContext(ctx context.Context) GetAliasesAliasArrayOutput
type GetAliasesAliasArrayInput ¶ added in v2.1.0
type GetAliasesAliasArrayInput interface { pulumi.Input ToGetAliasesAliasArrayOutput() GetAliasesAliasArrayOutput ToGetAliasesAliasArrayOutputWithContext(context.Context) GetAliasesAliasArrayOutput }
GetAliasesAliasArrayInput is an input type that accepts GetAliasesAliasArray and GetAliasesAliasArrayOutput values. You can construct a concrete instance of `GetAliasesAliasArrayInput` via:
GetAliasesAliasArray{ GetAliasesAliasArgs{...} }
type GetAliasesAliasArrayOutput ¶ added in v2.1.0
type GetAliasesAliasArrayOutput struct{ *pulumi.OutputState }
func (GetAliasesAliasArrayOutput) ElementType ¶ added in v2.1.0
func (GetAliasesAliasArrayOutput) ElementType() reflect.Type
func (GetAliasesAliasArrayOutput) Index ¶ added in v2.1.0
func (o GetAliasesAliasArrayOutput) Index(i pulumi.IntInput) GetAliasesAliasOutput
func (GetAliasesAliasArrayOutput) ToGetAliasesAliasArrayOutput ¶ added in v2.1.0
func (o GetAliasesAliasArrayOutput) ToGetAliasesAliasArrayOutput() GetAliasesAliasArrayOutput
func (GetAliasesAliasArrayOutput) ToGetAliasesAliasArrayOutputWithContext ¶ added in v2.1.0
func (o GetAliasesAliasArrayOutput) ToGetAliasesAliasArrayOutputWithContext(ctx context.Context) GetAliasesAliasArrayOutput
type GetAliasesAliasInput ¶ added in v2.1.0
type GetAliasesAliasInput interface { pulumi.Input ToGetAliasesAliasOutput() GetAliasesAliasOutput ToGetAliasesAliasOutputWithContext(context.Context) GetAliasesAliasOutput }
GetAliasesAliasInput is an input type that accepts GetAliasesAliasArgs and GetAliasesAliasOutput values. You can construct a concrete instance of `GetAliasesAliasInput` via:
GetAliasesAliasArgs{...}
type GetAliasesAliasOutput ¶ added in v2.1.0
type GetAliasesAliasOutput struct{ *pulumi.OutputState }
func (GetAliasesAliasOutput) AliasName ¶ added in v2.1.0
func (o GetAliasesAliasOutput) AliasName() pulumi.StringOutput
The unique identifier of the alias.
func (GetAliasesAliasOutput) ElementType ¶ added in v2.1.0
func (GetAliasesAliasOutput) ElementType() reflect.Type
func (GetAliasesAliasOutput) Id ¶ added in v2.1.0
func (o GetAliasesAliasOutput) Id() pulumi.StringOutput
ID of the alias. The value is same as KMS alias_name.
func (GetAliasesAliasOutput) KeyId ¶ added in v2.1.0
func (o GetAliasesAliasOutput) KeyId() pulumi.StringOutput
ID of the key.
func (GetAliasesAliasOutput) ToGetAliasesAliasOutput ¶ added in v2.1.0
func (o GetAliasesAliasOutput) ToGetAliasesAliasOutput() GetAliasesAliasOutput
func (GetAliasesAliasOutput) ToGetAliasesAliasOutputWithContext ¶ added in v2.1.0
func (o GetAliasesAliasOutput) ToGetAliasesAliasOutputWithContext(ctx context.Context) GetAliasesAliasOutput
type GetAliasesArgs ¶ added in v2.1.0
type GetAliasesArgs struct { // A list of KMS aliases IDs. The value is same as KMS alias_name. Ids []string `pulumi:"ids"` // A regex string to filter the results by the KMS alias name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getAliases.
type GetAliasesResult ¶ added in v2.1.0
type GetAliasesResult struct { // A list of KMS User alias. Each element contains the following attributes: Aliases []GetAliasesAlias `pulumi:"aliases"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of kms aliases IDs. The value is same as KMS alias_name. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of KMS alias name. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getAliases.
func GetAliases ¶ added in v2.1.0
func GetAliases(ctx *pulumi.Context, args *GetAliasesArgs, opts ...pulumi.InvokeOption) (*GetAliasesResult, error)
This data source provides a list of KMS aliases in an Alibaba Cloud account according to the specified filters.
> **NOTE:** Available in v1.79.0+.
type GetKeyVersionsArgs ¶ added in v2.7.0
type GetKeyVersionsArgs struct { // A list of KMS KeyVersion IDs. Ids []string `pulumi:"ids"` // The id of kms key. KeyId string `pulumi:"keyId"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getKeyVersions.
type GetKeyVersionsResult ¶ added in v2.7.0
type GetKeyVersionsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of KMS KeyVersion IDs. Ids []string `pulumi:"ids"` // ID of the key. KeyId string `pulumi:"keyId"` OutputFile *string `pulumi:"outputFile"` // A list of KMS KeyVersions. Each element contains the following attributes: Versions []GetKeyVersionsVersion `pulumi:"versions"` }
A collection of values returned by getKeyVersions.
func GetKeyVersions ¶ added in v2.7.0
func GetKeyVersions(ctx *pulumi.Context, args *GetKeyVersionsArgs, opts ...pulumi.InvokeOption) (*GetKeyVersionsResult, error)
This data source provides a list of KMS KeyVersions in an Alibaba Cloud account according to the specified filters.
> NOTE: Available in v1.85.0+
type GetKeyVersionsVersion ¶ added in v2.7.0
type GetKeyVersionsVersion struct { // Date and time when the key version was created (UTC time). CreationDate string `pulumi:"creationDate"` // ID of the KMS KeyVersion resource. Id string `pulumi:"id"` // The id of kms key. KeyId string `pulumi:"keyId"` // ID of the key version. KeyVersionId string `pulumi:"keyVersionId"` }
type GetKeyVersionsVersionArgs ¶ added in v2.7.0
type GetKeyVersionsVersionArgs struct { // Date and time when the key version was created (UTC time). CreationDate pulumi.StringInput `pulumi:"creationDate"` // ID of the KMS KeyVersion resource. Id pulumi.StringInput `pulumi:"id"` // The id of kms key. KeyId pulumi.StringInput `pulumi:"keyId"` // ID of the key version. KeyVersionId pulumi.StringInput `pulumi:"keyVersionId"` }
func (GetKeyVersionsVersionArgs) ElementType ¶ added in v2.7.0
func (GetKeyVersionsVersionArgs) ElementType() reflect.Type
func (GetKeyVersionsVersionArgs) ToGetKeyVersionsVersionOutput ¶ added in v2.7.0
func (i GetKeyVersionsVersionArgs) ToGetKeyVersionsVersionOutput() GetKeyVersionsVersionOutput
func (GetKeyVersionsVersionArgs) ToGetKeyVersionsVersionOutputWithContext ¶ added in v2.7.0
func (i GetKeyVersionsVersionArgs) ToGetKeyVersionsVersionOutputWithContext(ctx context.Context) GetKeyVersionsVersionOutput
type GetKeyVersionsVersionArray ¶ added in v2.7.0
type GetKeyVersionsVersionArray []GetKeyVersionsVersionInput
func (GetKeyVersionsVersionArray) ElementType ¶ added in v2.7.0
func (GetKeyVersionsVersionArray) ElementType() reflect.Type
func (GetKeyVersionsVersionArray) ToGetKeyVersionsVersionArrayOutput ¶ added in v2.7.0
func (i GetKeyVersionsVersionArray) ToGetKeyVersionsVersionArrayOutput() GetKeyVersionsVersionArrayOutput
func (GetKeyVersionsVersionArray) ToGetKeyVersionsVersionArrayOutputWithContext ¶ added in v2.7.0
func (i GetKeyVersionsVersionArray) ToGetKeyVersionsVersionArrayOutputWithContext(ctx context.Context) GetKeyVersionsVersionArrayOutput
type GetKeyVersionsVersionArrayInput ¶ added in v2.7.0
type GetKeyVersionsVersionArrayInput interface { pulumi.Input ToGetKeyVersionsVersionArrayOutput() GetKeyVersionsVersionArrayOutput ToGetKeyVersionsVersionArrayOutputWithContext(context.Context) GetKeyVersionsVersionArrayOutput }
GetKeyVersionsVersionArrayInput is an input type that accepts GetKeyVersionsVersionArray and GetKeyVersionsVersionArrayOutput values. You can construct a concrete instance of `GetKeyVersionsVersionArrayInput` via:
GetKeyVersionsVersionArray{ GetKeyVersionsVersionArgs{...} }
type GetKeyVersionsVersionArrayOutput ¶ added in v2.7.0
type GetKeyVersionsVersionArrayOutput struct{ *pulumi.OutputState }
func (GetKeyVersionsVersionArrayOutput) ElementType ¶ added in v2.7.0
func (GetKeyVersionsVersionArrayOutput) ElementType() reflect.Type
func (GetKeyVersionsVersionArrayOutput) Index ¶ added in v2.7.0
func (o GetKeyVersionsVersionArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsVersionOutput
func (GetKeyVersionsVersionArrayOutput) ToGetKeyVersionsVersionArrayOutput ¶ added in v2.7.0
func (o GetKeyVersionsVersionArrayOutput) ToGetKeyVersionsVersionArrayOutput() GetKeyVersionsVersionArrayOutput
func (GetKeyVersionsVersionArrayOutput) ToGetKeyVersionsVersionArrayOutputWithContext ¶ added in v2.7.0
func (o GetKeyVersionsVersionArrayOutput) ToGetKeyVersionsVersionArrayOutputWithContext(ctx context.Context) GetKeyVersionsVersionArrayOutput
type GetKeyVersionsVersionInput ¶ added in v2.7.0
type GetKeyVersionsVersionInput interface { pulumi.Input ToGetKeyVersionsVersionOutput() GetKeyVersionsVersionOutput ToGetKeyVersionsVersionOutputWithContext(context.Context) GetKeyVersionsVersionOutput }
GetKeyVersionsVersionInput is an input type that accepts GetKeyVersionsVersionArgs and GetKeyVersionsVersionOutput values. You can construct a concrete instance of `GetKeyVersionsVersionInput` via:
GetKeyVersionsVersionArgs{...}
type GetKeyVersionsVersionOutput ¶ added in v2.7.0
type GetKeyVersionsVersionOutput struct{ *pulumi.OutputState }
func (GetKeyVersionsVersionOutput) CreationDate ¶ added in v2.7.0
func (o GetKeyVersionsVersionOutput) CreationDate() pulumi.StringOutput
Date and time when the key version was created (UTC time).
func (GetKeyVersionsVersionOutput) ElementType ¶ added in v2.7.0
func (GetKeyVersionsVersionOutput) ElementType() reflect.Type
func (GetKeyVersionsVersionOutput) Id ¶ added in v2.7.0
func (o GetKeyVersionsVersionOutput) Id() pulumi.StringOutput
ID of the KMS KeyVersion resource.
func (GetKeyVersionsVersionOutput) KeyId ¶ added in v2.7.0
func (o GetKeyVersionsVersionOutput) KeyId() pulumi.StringOutput
The id of kms key.
func (GetKeyVersionsVersionOutput) KeyVersionId ¶ added in v2.7.0
func (o GetKeyVersionsVersionOutput) KeyVersionId() pulumi.StringOutput
ID of the key version.
func (GetKeyVersionsVersionOutput) ToGetKeyVersionsVersionOutput ¶ added in v2.7.0
func (o GetKeyVersionsVersionOutput) ToGetKeyVersionsVersionOutput() GetKeyVersionsVersionOutput
func (GetKeyVersionsVersionOutput) ToGetKeyVersionsVersionOutputWithContext ¶ added in v2.7.0
func (o GetKeyVersionsVersionOutput) ToGetKeyVersionsVersionOutputWithContext(ctx context.Context) GetKeyVersionsVersionOutput
type GetKeysArgs ¶
type GetKeysArgs struct { // A regex string to filter the results by the KMS key description. DescriptionRegex *string `pulumi:"descriptionRegex"` // A list of KMS key IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` // Filter the results by status of the KMS keys. Valid values: `Enabled`, `Disabled`, `PendingDeletion`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getKeys.
type GetKeysKey ¶
type GetKeysKey struct { // The Alibaba Cloud Resource Name (ARN) of the key. Arn string `pulumi:"arn"` // Creation date of key. CreationDate string `pulumi:"creationDate"` // The owner of the key. Creator string `pulumi:"creator"` // Deletion date of key. DeleteDate string `pulumi:"deleteDate"` // Description of the key. Description string `pulumi:"description"` // ID of the key. Id string `pulumi:"id"` // Filter the results by status of the KMS keys. Valid values: `Enabled`, `Disabled`, `PendingDeletion`. Status string `pulumi:"status"` }
type GetKeysKeyArgs ¶
type GetKeysKeyArgs struct { // The Alibaba Cloud Resource Name (ARN) of the key. Arn pulumi.StringInput `pulumi:"arn"` // Creation date of key. CreationDate pulumi.StringInput `pulumi:"creationDate"` // The owner of the key. Creator pulumi.StringInput `pulumi:"creator"` // Deletion date of key. DeleteDate pulumi.StringInput `pulumi:"deleteDate"` // Description of the key. Description pulumi.StringInput `pulumi:"description"` // ID of the key. Id pulumi.StringInput `pulumi:"id"` // Filter the results by status of the KMS keys. Valid values: `Enabled`, `Disabled`, `PendingDeletion`. Status pulumi.StringInput `pulumi:"status"` }
func (GetKeysKeyArgs) ElementType ¶
func (GetKeysKeyArgs) ElementType() reflect.Type
func (GetKeysKeyArgs) ToGetKeysKeyOutput ¶
func (i GetKeysKeyArgs) ToGetKeysKeyOutput() GetKeysKeyOutput
func (GetKeysKeyArgs) ToGetKeysKeyOutputWithContext ¶
func (i GetKeysKeyArgs) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput
type GetKeysKeyArray ¶
type GetKeysKeyArray []GetKeysKeyInput
func (GetKeysKeyArray) ElementType ¶
func (GetKeysKeyArray) ElementType() reflect.Type
func (GetKeysKeyArray) ToGetKeysKeyArrayOutput ¶
func (i GetKeysKeyArray) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput
func (GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext ¶
func (i GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput
type GetKeysKeyArrayInput ¶
type GetKeysKeyArrayInput interface { pulumi.Input ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput ToGetKeysKeyArrayOutputWithContext(context.Context) GetKeysKeyArrayOutput }
GetKeysKeyArrayInput is an input type that accepts GetKeysKeyArray and GetKeysKeyArrayOutput values. You can construct a concrete instance of `GetKeysKeyArrayInput` via:
GetKeysKeyArray{ GetKeysKeyArgs{...} }
type GetKeysKeyArrayOutput ¶
type GetKeysKeyArrayOutput struct{ *pulumi.OutputState }
func (GetKeysKeyArrayOutput) ElementType ¶
func (GetKeysKeyArrayOutput) ElementType() reflect.Type
func (GetKeysKeyArrayOutput) Index ¶
func (o GetKeysKeyArrayOutput) Index(i pulumi.IntInput) GetKeysKeyOutput
func (GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput ¶
func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput
func (GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext ¶
func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput
type GetKeysKeyInput ¶
type GetKeysKeyInput interface { pulumi.Input ToGetKeysKeyOutput() GetKeysKeyOutput ToGetKeysKeyOutputWithContext(context.Context) GetKeysKeyOutput }
GetKeysKeyInput is an input type that accepts GetKeysKeyArgs and GetKeysKeyOutput values. You can construct a concrete instance of `GetKeysKeyInput` via:
GetKeysKeyArgs{...}
type GetKeysKeyOutput ¶
type GetKeysKeyOutput struct{ *pulumi.OutputState }
func (GetKeysKeyOutput) Arn ¶
func (o GetKeysKeyOutput) Arn() pulumi.StringOutput
The Alibaba Cloud Resource Name (ARN) of the key.
func (GetKeysKeyOutput) CreationDate ¶
func (o GetKeysKeyOutput) CreationDate() pulumi.StringOutput
Creation date of key.
func (GetKeysKeyOutput) Creator ¶
func (o GetKeysKeyOutput) Creator() pulumi.StringOutput
The owner of the key.
func (GetKeysKeyOutput) DeleteDate ¶
func (o GetKeysKeyOutput) DeleteDate() pulumi.StringOutput
Deletion date of key.
func (GetKeysKeyOutput) Description ¶
func (o GetKeysKeyOutput) Description() pulumi.StringOutput
Description of the key.
func (GetKeysKeyOutput) ElementType ¶
func (GetKeysKeyOutput) ElementType() reflect.Type
func (GetKeysKeyOutput) Status ¶
func (o GetKeysKeyOutput) Status() pulumi.StringOutput
Filter the results by status of the KMS keys. Valid values: `Enabled`, `Disabled`, `PendingDeletion`.
func (GetKeysKeyOutput) ToGetKeysKeyOutput ¶
func (o GetKeysKeyOutput) ToGetKeysKeyOutput() GetKeysKeyOutput
func (GetKeysKeyOutput) ToGetKeysKeyOutputWithContext ¶
func (o GetKeysKeyOutput) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput
type GetKeysResult ¶
type GetKeysResult struct { DescriptionRegex *string `pulumi:"descriptionRegex"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of KMS key IDs. Ids []string `pulumi:"ids"` // A list of KMS keys. Each element contains the following attributes: Keys []GetKeysKey `pulumi:"keys"` OutputFile *string `pulumi:"outputFile"` // Status of the key. Possible values: `Enabled`, `Disabled` and `PendingDeletion`. Status *string `pulumi:"status"` }
A collection of values returned by getKeys.
func GetKeys ¶
func GetKeys(ctx *pulumi.Context, args *GetKeysArgs, opts ...pulumi.InvokeOption) (*GetKeysResult, error)
This data source provides a list of KMS keys in an Alibaba Cloud account according to the specified filters.
type GetPlaintextArgs ¶
type GetPlaintextArgs struct { // The ciphertext to be decrypted. CiphertextBlob string `pulumi:"ciphertextBlob"` // - // (Optional) The Encryption context. If you specify this parameter in the Encrypt or GenerateDataKey API operation, it is also required when you call the Decrypt API operation. For more information, see [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). EncryptionContext map[string]string `pulumi:"encryptionContext"` }
A collection of arguments for invoking getPlaintext.
type GetPlaintextResult ¶
type GetPlaintextResult struct { CiphertextBlob string `pulumi:"ciphertextBlob"` EncryptionContext map[string]string `pulumi:"encryptionContext"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The globally unique ID of the CMK. It is the ID of the CMK used to decrypt ciphertext. KeyId string `pulumi:"keyId"` // The decrypted plaintext. Plaintext string `pulumi:"plaintext"` }
A collection of values returned by getPlaintext.
func GetPlaintext ¶
func GetPlaintext(ctx *pulumi.Context, args *GetPlaintextArgs, opts ...pulumi.InvokeOption) (*GetPlaintextResult, error)
type GetSecretVersionsArgs ¶ added in v2.10.0
type GetSecretVersionsArgs struct { // Default to false and only output `secretName`, `versionId`, `versionStages`. Set it to true can output more details. EnableDetails *bool `pulumi:"enableDetails"` // A list of KMS Secret Version ids. Ids []string `pulumi:"ids"` // Specifies whether to return deprecated secret versions. Default to `false`. IncludeDeprecated *string `pulumi:"includeDeprecated"` OutputFile *string `pulumi:"outputFile"` // The name of the secret. SecretName string `pulumi:"secretName"` // The stage of the secret version. VersionStage *string `pulumi:"versionStage"` }
A collection of arguments for invoking getSecretVersions.
type GetSecretVersionsResult ¶ added in v2.10.0
type GetSecretVersionsResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Kms Secret Version ids. Ids []string `pulumi:"ids"` IncludeDeprecated *string `pulumi:"includeDeprecated"` OutputFile *string `pulumi:"outputFile"` // The name of the secret. SecretName string `pulumi:"secretName"` VersionStage *string `pulumi:"versionStage"` // A list of KMS Secret Versions. Each element contains the following attributes: Versions []GetSecretVersionsVersion `pulumi:"versions"` }
A collection of values returned by getSecretVersions.
func GetSecretVersions ¶ added in v2.10.0
func GetSecretVersions(ctx *pulumi.Context, args *GetSecretVersionsArgs, opts ...pulumi.InvokeOption) (*GetSecretVersionsResult, error)
This data source provides a list of KMS Secret Versions in an Alibaba Cloud account according to the specified filters.
> **NOTE:** Available in v1.88.0+.
type GetSecretVersionsVersion ¶ added in v2.10.0
type GetSecretVersionsVersion struct { // The secret value. Secrets Manager decrypts the stored secret value in ciphertext and returns it. (Returned when `enableDetails` is true). SecretData string `pulumi:"secretData"` // The type of the secret value. (Returned when `enableDetails` is true). SecretDataType string `pulumi:"secretDataType"` // The name of the secret. SecretName string `pulumi:"secretName"` // The version number of the secret value. VersionId string `pulumi:"versionId"` // Stage labels that mark the secret version. VersionStages []string `pulumi:"versionStages"` }
type GetSecretVersionsVersionArgs ¶ added in v2.10.0
type GetSecretVersionsVersionArgs struct { // The secret value. Secrets Manager decrypts the stored secret value in ciphertext and returns it. (Returned when `enableDetails` is true). SecretData pulumi.StringInput `pulumi:"secretData"` // The type of the secret value. (Returned when `enableDetails` is true). SecretDataType pulumi.StringInput `pulumi:"secretDataType"` // The name of the secret. SecretName pulumi.StringInput `pulumi:"secretName"` // The version number of the secret value. VersionId pulumi.StringInput `pulumi:"versionId"` // Stage labels that mark the secret version. VersionStages pulumi.StringArrayInput `pulumi:"versionStages"` }
func (GetSecretVersionsVersionArgs) ElementType ¶ added in v2.10.0
func (GetSecretVersionsVersionArgs) ElementType() reflect.Type
func (GetSecretVersionsVersionArgs) ToGetSecretVersionsVersionOutput ¶ added in v2.10.0
func (i GetSecretVersionsVersionArgs) ToGetSecretVersionsVersionOutput() GetSecretVersionsVersionOutput
func (GetSecretVersionsVersionArgs) ToGetSecretVersionsVersionOutputWithContext ¶ added in v2.10.0
func (i GetSecretVersionsVersionArgs) ToGetSecretVersionsVersionOutputWithContext(ctx context.Context) GetSecretVersionsVersionOutput
type GetSecretVersionsVersionArray ¶ added in v2.10.0
type GetSecretVersionsVersionArray []GetSecretVersionsVersionInput
func (GetSecretVersionsVersionArray) ElementType ¶ added in v2.10.0
func (GetSecretVersionsVersionArray) ElementType() reflect.Type
func (GetSecretVersionsVersionArray) ToGetSecretVersionsVersionArrayOutput ¶ added in v2.10.0
func (i GetSecretVersionsVersionArray) ToGetSecretVersionsVersionArrayOutput() GetSecretVersionsVersionArrayOutput
func (GetSecretVersionsVersionArray) ToGetSecretVersionsVersionArrayOutputWithContext ¶ added in v2.10.0
func (i GetSecretVersionsVersionArray) ToGetSecretVersionsVersionArrayOutputWithContext(ctx context.Context) GetSecretVersionsVersionArrayOutput
type GetSecretVersionsVersionArrayInput ¶ added in v2.10.0
type GetSecretVersionsVersionArrayInput interface { pulumi.Input ToGetSecretVersionsVersionArrayOutput() GetSecretVersionsVersionArrayOutput ToGetSecretVersionsVersionArrayOutputWithContext(context.Context) GetSecretVersionsVersionArrayOutput }
GetSecretVersionsVersionArrayInput is an input type that accepts GetSecretVersionsVersionArray and GetSecretVersionsVersionArrayOutput values. You can construct a concrete instance of `GetSecretVersionsVersionArrayInput` via:
GetSecretVersionsVersionArray{ GetSecretVersionsVersionArgs{...} }
type GetSecretVersionsVersionArrayOutput ¶ added in v2.10.0
type GetSecretVersionsVersionArrayOutput struct{ *pulumi.OutputState }
func (GetSecretVersionsVersionArrayOutput) ElementType ¶ added in v2.10.0
func (GetSecretVersionsVersionArrayOutput) ElementType() reflect.Type
func (GetSecretVersionsVersionArrayOutput) Index ¶ added in v2.10.0
func (o GetSecretVersionsVersionArrayOutput) Index(i pulumi.IntInput) GetSecretVersionsVersionOutput
func (GetSecretVersionsVersionArrayOutput) ToGetSecretVersionsVersionArrayOutput ¶ added in v2.10.0
func (o GetSecretVersionsVersionArrayOutput) ToGetSecretVersionsVersionArrayOutput() GetSecretVersionsVersionArrayOutput
func (GetSecretVersionsVersionArrayOutput) ToGetSecretVersionsVersionArrayOutputWithContext ¶ added in v2.10.0
func (o GetSecretVersionsVersionArrayOutput) ToGetSecretVersionsVersionArrayOutputWithContext(ctx context.Context) GetSecretVersionsVersionArrayOutput
type GetSecretVersionsVersionInput ¶ added in v2.10.0
type GetSecretVersionsVersionInput interface { pulumi.Input ToGetSecretVersionsVersionOutput() GetSecretVersionsVersionOutput ToGetSecretVersionsVersionOutputWithContext(context.Context) GetSecretVersionsVersionOutput }
GetSecretVersionsVersionInput is an input type that accepts GetSecretVersionsVersionArgs and GetSecretVersionsVersionOutput values. You can construct a concrete instance of `GetSecretVersionsVersionInput` via:
GetSecretVersionsVersionArgs{...}
type GetSecretVersionsVersionOutput ¶ added in v2.10.0
type GetSecretVersionsVersionOutput struct{ *pulumi.OutputState }
func (GetSecretVersionsVersionOutput) ElementType ¶ added in v2.10.0
func (GetSecretVersionsVersionOutput) ElementType() reflect.Type
func (GetSecretVersionsVersionOutput) SecretData ¶ added in v2.10.0
func (o GetSecretVersionsVersionOutput) SecretData() pulumi.StringOutput
The secret value. Secrets Manager decrypts the stored secret value in ciphertext and returns it. (Returned when `enableDetails` is true).
func (GetSecretVersionsVersionOutput) SecretDataType ¶ added in v2.10.0
func (o GetSecretVersionsVersionOutput) SecretDataType() pulumi.StringOutput
The type of the secret value. (Returned when `enableDetails` is true).
func (GetSecretVersionsVersionOutput) SecretName ¶ added in v2.10.0
func (o GetSecretVersionsVersionOutput) SecretName() pulumi.StringOutput
The name of the secret.
func (GetSecretVersionsVersionOutput) ToGetSecretVersionsVersionOutput ¶ added in v2.10.0
func (o GetSecretVersionsVersionOutput) ToGetSecretVersionsVersionOutput() GetSecretVersionsVersionOutput
func (GetSecretVersionsVersionOutput) ToGetSecretVersionsVersionOutputWithContext ¶ added in v2.10.0
func (o GetSecretVersionsVersionOutput) ToGetSecretVersionsVersionOutputWithContext(ctx context.Context) GetSecretVersionsVersionOutput
func (GetSecretVersionsVersionOutput) VersionId ¶ added in v2.10.0
func (o GetSecretVersionsVersionOutput) VersionId() pulumi.StringOutput
The version number of the secret value.
func (GetSecretVersionsVersionOutput) VersionStages ¶ added in v2.10.0
func (o GetSecretVersionsVersionOutput) VersionStages() pulumi.StringArrayOutput
Stage labels that mark the secret version.
type GetSecretsArgs ¶ added in v2.8.0
type GetSecretsArgs struct { // Whether to include the predetermined resource tag in the return value. Default to `false`. FetchTags *bool `pulumi:"fetchTags"` // A list of KMS Secret ids. The value is same as KMS secret_name. Ids []string `pulumi:"ids"` // A regex string to filter the results by the KMS secret_name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getSecrets.
type GetSecretsResult ¶ added in v2.8.0
type GetSecretsResult struct { FetchTags *bool `pulumi:"fetchTags"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Kms Secret ids. The value is same as KMS secret_name. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of KMS Secret names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of KMS Secrets. Each element contains the following attributes: Secrets []GetSecretsSecret `pulumi:"secrets"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getSecrets.
func GetSecrets ¶ added in v2.8.0
func GetSecrets(ctx *pulumi.Context, args *GetSecretsArgs, opts ...pulumi.InvokeOption) (*GetSecretsResult, error)
This data source provides a list of KMS Secrets in an Alibaba Cloud account according to the specified filters.
> **NOTE:** Available in v1.86.0+.
type GetSecretsSecret ¶ added in v2.8.0
type GetSecretsSecret struct { // ID of the Kms Secret. The value is same as KMS secret_name. Id string `pulumi:"id"` // Schedule deletion time. PlannedDeleteTime string `pulumi:"plannedDeleteTime"` // Name of the KMS Secret. SecretName string `pulumi:"secretName"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetSecretsSecretArgs ¶ added in v2.8.0
type GetSecretsSecretArgs struct { // ID of the Kms Secret. The value is same as KMS secret_name. Id pulumi.StringInput `pulumi:"id"` // Schedule deletion time. PlannedDeleteTime pulumi.StringInput `pulumi:"plannedDeleteTime"` // Name of the KMS Secret. SecretName pulumi.StringInput `pulumi:"secretName"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetSecretsSecretArgs) ElementType ¶ added in v2.8.0
func (GetSecretsSecretArgs) ElementType() reflect.Type
func (GetSecretsSecretArgs) ToGetSecretsSecretOutput ¶ added in v2.8.0
func (i GetSecretsSecretArgs) ToGetSecretsSecretOutput() GetSecretsSecretOutput
func (GetSecretsSecretArgs) ToGetSecretsSecretOutputWithContext ¶ added in v2.8.0
func (i GetSecretsSecretArgs) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput
type GetSecretsSecretArray ¶ added in v2.8.0
type GetSecretsSecretArray []GetSecretsSecretInput
func (GetSecretsSecretArray) ElementType ¶ added in v2.8.0
func (GetSecretsSecretArray) ElementType() reflect.Type
func (GetSecretsSecretArray) ToGetSecretsSecretArrayOutput ¶ added in v2.8.0
func (i GetSecretsSecretArray) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
func (GetSecretsSecretArray) ToGetSecretsSecretArrayOutputWithContext ¶ added in v2.8.0
func (i GetSecretsSecretArray) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput
type GetSecretsSecretArrayInput ¶ added in v2.8.0
type GetSecretsSecretArrayInput interface { pulumi.Input ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput ToGetSecretsSecretArrayOutputWithContext(context.Context) GetSecretsSecretArrayOutput }
GetSecretsSecretArrayInput is an input type that accepts GetSecretsSecretArray and GetSecretsSecretArrayOutput values. You can construct a concrete instance of `GetSecretsSecretArrayInput` via:
GetSecretsSecretArray{ GetSecretsSecretArgs{...} }
type GetSecretsSecretArrayOutput ¶ added in v2.8.0
type GetSecretsSecretArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretArrayOutput) ElementType ¶ added in v2.8.0
func (GetSecretsSecretArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretArrayOutput) Index ¶ added in v2.8.0
func (o GetSecretsSecretArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretOutput
func (GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput ¶ added in v2.8.0
func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
func (GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext ¶ added in v2.8.0
func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput
type GetSecretsSecretInput ¶ added in v2.8.0
type GetSecretsSecretInput interface { pulumi.Input ToGetSecretsSecretOutput() GetSecretsSecretOutput ToGetSecretsSecretOutputWithContext(context.Context) GetSecretsSecretOutput }
GetSecretsSecretInput is an input type that accepts GetSecretsSecretArgs and GetSecretsSecretOutput values. You can construct a concrete instance of `GetSecretsSecretInput` via:
GetSecretsSecretArgs{...}
type GetSecretsSecretOutput ¶ added in v2.8.0
type GetSecretsSecretOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretOutput) ElementType ¶ added in v2.8.0
func (GetSecretsSecretOutput) ElementType() reflect.Type
func (GetSecretsSecretOutput) Id ¶ added in v2.8.0
func (o GetSecretsSecretOutput) Id() pulumi.StringOutput
ID of the Kms Secret. The value is same as KMS secret_name.
func (GetSecretsSecretOutput) PlannedDeleteTime ¶ added in v2.8.0
func (o GetSecretsSecretOutput) PlannedDeleteTime() pulumi.StringOutput
Schedule deletion time.
func (GetSecretsSecretOutput) SecretName ¶ added in v2.8.0
func (o GetSecretsSecretOutput) SecretName() pulumi.StringOutput
Name of the KMS Secret.
func (GetSecretsSecretOutput) Tags ¶ added in v2.8.0
func (o GetSecretsSecretOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetSecretsSecretOutput) ToGetSecretsSecretOutput ¶ added in v2.8.0
func (o GetSecretsSecretOutput) ToGetSecretsSecretOutput() GetSecretsSecretOutput
func (GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext ¶ added in v2.8.0
func (o GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput
type Key ¶
type Key struct { pulumi.CustomResourceState // The Alicloud Resource Name (ARN) of the key. // * `creationDate` -The date and time when the CMK was created. The time is displayed in UTC. // * `creator` -The creator of the CMK. // * `deleteDate` -The scheduled date to delete CMK. The time is displayed in UTC. This value is returned only when the KeyState value is PendingDeletion. Arn pulumi.StringOutput `pulumi:"arn"` // Specifies whether to enable automatic key rotation. Default:"Disabled". AutomaticRotation pulumi.StringPtrOutput `pulumi:"automaticRotation"` CreationDate pulumi.StringOutput `pulumi:"creationDate"` Creator pulumi.StringOutput `pulumi:"creator"` DeleteDate pulumi.StringOutput `pulumi:"deleteDate"` // Field 'deletion_window_in_days' has been deprecated from provider version 1.85.0. New field 'pending_window_in_days' instead. // // Deprecated: Field 'deletion_window_in_days' has been deprecated from provider version 1.85.0. New field 'pending_window_in_days' instead. DeletionWindowInDays pulumi.IntPtrOutput `pulumi:"deletionWindowInDays"` // The description of the key as viewed in Alicloud console. Description pulumi.StringPtrOutput `pulumi:"description"` // Field 'is_enabled' has been deprecated from provider version 1.85.0. New field 'key_state' instead. // // Deprecated: Field 'is_enabled' has been deprecated from provider version 1.85.0. New field 'key_state' instead. IsEnabled pulumi.BoolPtrOutput `pulumi:"isEnabled"` // The type of the CMK. KeySpec pulumi.StringOutput `pulumi:"keySpec"` // The status of CMK. Defaults to Enabled. KeyState pulumi.StringPtrOutput `pulumi:"keyState"` // Specifies the usage of CMK. Currently, default to 'ENCRYPT/DECRYPT', indicating that CMK is used for encryption and decryption. KeyUsage pulumi.StringPtrOutput `pulumi:"keyUsage"` // The date and time the last rotation was performed. The time is displayed in UTC. LastRotationDate pulumi.StringOutput `pulumi:"lastRotationDate"` // The time and date the key material for the CMK expires. The time is displayed in UTC. If the value is empty, the key material for the CMK does not expire. MaterialExpireTime pulumi.StringOutput `pulumi:"materialExpireTime"` // The time the next rotation is scheduled for execution. NextRotationDate pulumi.StringOutput `pulumi:"nextRotationDate"` // The source of the key material for the CMK. Defaults to "Aliyun_KMS". Origin pulumi.StringPtrOutput `pulumi:"origin"` // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 30 days. PendingWindowInDays pulumi.IntPtrOutput `pulumi:"pendingWindowInDays"` // The ID of the current primary key version of the symmetric CMK. PrimaryKeyVersion pulumi.StringOutput `pulumi:"primaryKeyVersion"` // The protection level of the CMK. Defaults to "SOFTWARE". ProtectionLevel pulumi.StringPtrOutput `pulumi:"protectionLevel"` // The period of automatic key rotation. Unit: seconds. RotationInterval pulumi.StringPtrOutput `pulumi:"rotationInterval"` }
A kms key can help user to protect data security in the transmission process. For information about Alikms Key and how to use it, see [What is Resource Alikms Key](https://www.alibabacloud.com/help/doc-detail/28947.htm).
> **NOTE:** Available in v1.85.0+.
func GetKey ¶
func GetKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyState, opts ...pulumi.ResourceOption) (*Key, error)
GetKey gets an existing Key resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type KeyArgs ¶
type KeyArgs struct { // Specifies whether to enable automatic key rotation. Default:"Disabled". AutomaticRotation pulumi.StringPtrInput // Field 'deletion_window_in_days' has been deprecated from provider version 1.85.0. New field 'pending_window_in_days' instead. // // Deprecated: Field 'deletion_window_in_days' has been deprecated from provider version 1.85.0. New field 'pending_window_in_days' instead. DeletionWindowInDays pulumi.IntPtrInput // The description of the key as viewed in Alicloud console. Description pulumi.StringPtrInput // Field 'is_enabled' has been deprecated from provider version 1.85.0. New field 'key_state' instead. // // Deprecated: Field 'is_enabled' has been deprecated from provider version 1.85.0. New field 'key_state' instead. IsEnabled pulumi.BoolPtrInput // The type of the CMK. KeySpec pulumi.StringPtrInput // The status of CMK. Defaults to Enabled. KeyState pulumi.StringPtrInput // Specifies the usage of CMK. Currently, default to 'ENCRYPT/DECRYPT', indicating that CMK is used for encryption and decryption. KeyUsage pulumi.StringPtrInput // The source of the key material for the CMK. Defaults to "Aliyun_KMS". Origin pulumi.StringPtrInput // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 30 days. PendingWindowInDays pulumi.IntPtrInput // The protection level of the CMK. Defaults to "SOFTWARE". ProtectionLevel pulumi.StringPtrInput // The period of automatic key rotation. Unit: seconds. RotationInterval pulumi.StringPtrInput }
The set of arguments for constructing a Key resource.
func (KeyArgs) ElementType ¶
type KeyState ¶
type KeyState struct { // The Alicloud Resource Name (ARN) of the key. // * `creationDate` -The date and time when the CMK was created. The time is displayed in UTC. // * `creator` -The creator of the CMK. // * `deleteDate` -The scheduled date to delete CMK. The time is displayed in UTC. This value is returned only when the KeyState value is PendingDeletion. Arn pulumi.StringPtrInput // Specifies whether to enable automatic key rotation. Default:"Disabled". AutomaticRotation pulumi.StringPtrInput CreationDate pulumi.StringPtrInput Creator pulumi.StringPtrInput DeleteDate pulumi.StringPtrInput // Field 'deletion_window_in_days' has been deprecated from provider version 1.85.0. New field 'pending_window_in_days' instead. // // Deprecated: Field 'deletion_window_in_days' has been deprecated from provider version 1.85.0. New field 'pending_window_in_days' instead. DeletionWindowInDays pulumi.IntPtrInput // The description of the key as viewed in Alicloud console. Description pulumi.StringPtrInput // Field 'is_enabled' has been deprecated from provider version 1.85.0. New field 'key_state' instead. // // Deprecated: Field 'is_enabled' has been deprecated from provider version 1.85.0. New field 'key_state' instead. IsEnabled pulumi.BoolPtrInput // The type of the CMK. KeySpec pulumi.StringPtrInput // The status of CMK. Defaults to Enabled. KeyState pulumi.StringPtrInput // Specifies the usage of CMK. Currently, default to 'ENCRYPT/DECRYPT', indicating that CMK is used for encryption and decryption. KeyUsage pulumi.StringPtrInput // The date and time the last rotation was performed. The time is displayed in UTC. LastRotationDate pulumi.StringPtrInput // The time and date the key material for the CMK expires. The time is displayed in UTC. If the value is empty, the key material for the CMK does not expire. MaterialExpireTime pulumi.StringPtrInput // The time the next rotation is scheduled for execution. NextRotationDate pulumi.StringPtrInput // The source of the key material for the CMK. Defaults to "Aliyun_KMS". Origin pulumi.StringPtrInput // Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days. Defaults to 30 days. PendingWindowInDays pulumi.IntPtrInput // The ID of the current primary key version of the symmetric CMK. PrimaryKeyVersion pulumi.StringPtrInput // The protection level of the CMK. Defaults to "SOFTWARE". ProtectionLevel pulumi.StringPtrInput // The period of automatic key rotation. Unit: seconds. RotationInterval pulumi.StringPtrInput }
func (KeyState) ElementType ¶
type KeyVersion ¶ added in v2.7.0
type KeyVersion struct { pulumi.CustomResourceState // The date and time (UTC time) when the Alikms key version was created. CreationDate pulumi.StringOutput `pulumi:"creationDate"` // The id of the master key (CMK). KeyId pulumi.StringOutput `pulumi:"keyId"` // The id of the Alikms key version. KeyVersionId pulumi.StringOutput `pulumi:"keyVersionId"` }
Provides a Alikms Key Version resource. For information about Alikms Key Version and how to use it, see [What is Resource Alikms Key Version](https://www.alibabacloud.com/help/doc-detail/133838.htm).
> **NOTE:** Available in v1.85.0+.
func GetKeyVersion ¶ added in v2.7.0
func GetKeyVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyVersionState, opts ...pulumi.ResourceOption) (*KeyVersion, error)
GetKeyVersion gets an existing KeyVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewKeyVersion ¶ added in v2.7.0
func NewKeyVersion(ctx *pulumi.Context, name string, args *KeyVersionArgs, opts ...pulumi.ResourceOption) (*KeyVersion, error)
NewKeyVersion registers a new resource with the given unique name, arguments, and options.
type KeyVersionArgs ¶ added in v2.7.0
type KeyVersionArgs struct { // The id of the master key (CMK). KeyId pulumi.StringInput }
The set of arguments for constructing a KeyVersion resource.
func (KeyVersionArgs) ElementType ¶ added in v2.7.0
func (KeyVersionArgs) ElementType() reflect.Type
type KeyVersionState ¶ added in v2.7.0
type KeyVersionState struct { // The date and time (UTC time) when the Alikms key version was created. CreationDate pulumi.StringPtrInput // The id of the master key (CMK). KeyId pulumi.StringPtrInput // The id of the Alikms key version. KeyVersionId pulumi.StringPtrInput }
func (KeyVersionState) ElementType ¶ added in v2.7.0
func (KeyVersionState) ElementType() reflect.Type
type LookupCiphertextArgs ¶
type LookupCiphertextArgs struct { // - // (Optional) The Encryption context. If you specify this parameter here, it is also required when you call the Decrypt API operation. For more information, see [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). EncryptionContext map[string]string `pulumi:"encryptionContext"` // The globally unique ID of the CMK. KeyId string `pulumi:"keyId"` // The plaintext to be encrypted which must be encoded in Base64. Plaintext string `pulumi:"plaintext"` }
A collection of arguments for invoking getCiphertext.
type LookupCiphertextResult ¶
type LookupCiphertextResult struct { // The ciphertext of the data key encrypted with the primary CMK version. CiphertextBlob string `pulumi:"ciphertextBlob"` EncryptionContext map[string]string `pulumi:"encryptionContext"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KeyId string `pulumi:"keyId"` Plaintext string `pulumi:"plaintext"` }
A collection of values returned by getCiphertext.
func LookupCiphertext ¶
func LookupCiphertext(ctx *pulumi.Context, args *LookupCiphertextArgs, opts ...pulumi.InvokeOption) (*LookupCiphertextResult, error)
type Secret ¶
type Secret struct { pulumi.CustomResourceState // The Alicloud Resource Name (ARN) of the secret. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the secret. Description pulumi.StringPtrOutput `pulumi:"description"` // The ID of the KMS CMK that is used to encrypt the secret value. If you do not specify this parameter, Secrets Manager automatically creates an encryption key to encrypt the secret. EncryptionKeyId pulumi.StringPtrOutput `pulumi:"encryptionKeyId"` // Specifies whether to forcibly delete the secret. If this parameter is set to true, the secret cannot be recovered. Valid values: true, false. Default to: false. ForceDeleteWithoutRecovery pulumi.BoolPtrOutput `pulumi:"forceDeleteWithoutRecovery"` // The time when the secret is scheduled to be deleted. PlannedDeleteTime pulumi.StringOutput `pulumi:"plannedDeleteTime"` // Specifies the recovery period of the secret if you do not forcibly delete it. Default value: 30. It will be ignored when `forceDeleteWithoutRecovery` is true. RecoveryWindowInDays pulumi.IntPtrOutput `pulumi:"recoveryWindowInDays"` // The value of the secret that you want to create. Secrets Manager encrypts the secret value and stores it in the initial version. SecretData pulumi.StringOutput `pulumi:"secretData"` // The type of the secret value. Valid values: text, binary. Default to "text". SecretDataType pulumi.StringPtrOutput `pulumi:"secretDataType"` // The name of the secret. SecretName pulumi.StringOutput `pulumi:"secretName"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The version number of the initial version. Version numbers are unique in each secret object. VersionId pulumi.StringOutput `pulumi:"versionId"` // ) The stage labels that mark the new secret version. If you do not specify this parameter, Secrets Manager marks it with "ACSCurrent". VersionStages pulumi.StringArrayOutput `pulumi:"versionStages"` }
This resouce used to create a secret and store its initial version.
> **NOTE:** Available in 1.76.0+.
func GetSecret ¶
func GetSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretState, opts ...pulumi.ResourceOption) (*Secret, error)
GetSecret gets an existing Secret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecret ¶
func NewSecret(ctx *pulumi.Context, name string, args *SecretArgs, opts ...pulumi.ResourceOption) (*Secret, error)
NewSecret registers a new resource with the given unique name, arguments, and options.
type SecretArgs ¶
type SecretArgs struct { // The description of the secret. Description pulumi.StringPtrInput // The ID of the KMS CMK that is used to encrypt the secret value. If you do not specify this parameter, Secrets Manager automatically creates an encryption key to encrypt the secret. EncryptionKeyId pulumi.StringPtrInput // Specifies whether to forcibly delete the secret. If this parameter is set to true, the secret cannot be recovered. Valid values: true, false. Default to: false. ForceDeleteWithoutRecovery pulumi.BoolPtrInput // Specifies the recovery period of the secret if you do not forcibly delete it. Default value: 30. It will be ignored when `forceDeleteWithoutRecovery` is true. RecoveryWindowInDays pulumi.IntPtrInput // The value of the secret that you want to create. Secrets Manager encrypts the secret value and stores it in the initial version. SecretData pulumi.StringInput // The type of the secret value. Valid values: text, binary. Default to "text". SecretDataType pulumi.StringPtrInput // The name of the secret. SecretName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The version number of the initial version. Version numbers are unique in each secret object. VersionId pulumi.StringInput // ) The stage labels that mark the new secret version. If you do not specify this parameter, Secrets Manager marks it with "ACSCurrent". VersionStages pulumi.StringArrayInput }
The set of arguments for constructing a Secret resource.
func (SecretArgs) ElementType ¶
func (SecretArgs) ElementType() reflect.Type
type SecretState ¶
type SecretState struct { // The Alicloud Resource Name (ARN) of the secret. Arn pulumi.StringPtrInput // The description of the secret. Description pulumi.StringPtrInput // The ID of the KMS CMK that is used to encrypt the secret value. If you do not specify this parameter, Secrets Manager automatically creates an encryption key to encrypt the secret. EncryptionKeyId pulumi.StringPtrInput // Specifies whether to forcibly delete the secret. If this parameter is set to true, the secret cannot be recovered. Valid values: true, false. Default to: false. ForceDeleteWithoutRecovery pulumi.BoolPtrInput // The time when the secret is scheduled to be deleted. PlannedDeleteTime pulumi.StringPtrInput // Specifies the recovery period of the secret if you do not forcibly delete it. Default value: 30. It will be ignored when `forceDeleteWithoutRecovery` is true. RecoveryWindowInDays pulumi.IntPtrInput // The value of the secret that you want to create. Secrets Manager encrypts the secret value and stores it in the initial version. SecretData pulumi.StringPtrInput // The type of the secret value. Valid values: text, binary. Default to "text". SecretDataType pulumi.StringPtrInput // The name of the secret. SecretName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The version number of the initial version. Version numbers are unique in each secret object. VersionId pulumi.StringPtrInput // ) The stage labels that mark the new secret version. If you do not specify this parameter, Secrets Manager marks it with "ACSCurrent". VersionStages pulumi.StringArrayInput }
func (SecretState) ElementType ¶
func (SecretState) ElementType() reflect.Type