Namespace Pulumi.AliCloud.Kms
Classes
Alias
Create an alias for the master key (CMK).
NOTE: Available in v1.77.0+.
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var thisKey = new AliCloud.Kms.Key("thisKey", new AliCloud.Kms.KeyArgs
{
});
var thisAlias = new AliCloud.Kms.Alias("thisAlias", new AliCloud.Kms.AliasArgs
{
AliasName = "alias/test_kms_alias",
KeyId = thisKey.Id,
});
}
}
AliasArgs
AliasState
Ciphertext
CiphertextArgs
CiphertextState
GetAliases
GetAliasesArgs
GetAliasesResult
GetCiphertext
GetCiphertextArgs
GetCiphertextResult
GetKeys
GetKeysArgs
GetKeysResult
GetKeyVersions
GetKeyVersionsArgs
GetKeyVersionsResult
GetPlaintext
GetPlaintextArgs
GetPlaintextResult
Key
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.
NOTE: Available in v1.85.0+.
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var key = new AliCloud.Kms.Key("key", new AliCloud.Kms.KeyArgs
{
Description = "Hello KMS",
KeyState = "Enabled",
PendingWindowInDays = "7",
});
}
}
KeyArgs
KeyState
KeyVersion
Provides a Alikms Key Version resource. For information about Alikms Key Version and how to use it, see What is Resource Alikms Key Version.
NOTE: Available in v1.85.0+.
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var @this = new AliCloud.Kms.Key("this", new AliCloud.Kms.KeyArgs
{
});
var keyversion = new AliCloud.Kms.KeyVersion("keyversion", new AliCloud.Kms.KeyVersionArgs
{
KeyId = @this.Id,
});
}
}
KeyVersionArgs
KeyVersionState
Secret
This resouce used to create a secret and store its initial version.
NOTE: Available in 1.76.0+.