SecretCiphertext constructor
SecretCiphertext(
- String name, {
- SecretCiphertextArgs? args,
- CustomResourceOptions? options,
Creates a new SecretCiphertext.
name The Pulumi resource name.
args Arguments used to configure this SecretCiphertext. The set of arguments for SecretCiphertext.
options Resource options controlling this resource's behavior.
Implementation
SecretCiphertext(
String name, {
SecretCiphertextArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:kms/secretCiphertext:SecretCiphertext',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
additionalSecretOutputs: const ['additionalAuthenticatedData', 'plaintext'],
) {
additionalAuthenticatedData = registerOutput<String?>('additionalAuthenticatedData', isSecret: true);
ciphertext = registerOutput<String>('ciphertext');
cryptoKey = registerOutput<String>('cryptoKey');
plaintext = registerOutput<String>('plaintext', isSecret: true);
}