getCryptoKeys function
Provides access to all Google Cloud Platform KMS CryptoKeys in a given KeyRing. For more information see the official documentation and API.
A CryptoKey is an interface to key material which can be used to encrypt and decrypt data. A CryptoKey belongs to a
Google Cloud KMS KeyRing.
args Arguments passed to this invoke. Arguments for getCryptoKeys.
options Invoke options controlling this call.
Implementation
Future<GetCryptoKeysResult> getCryptoKeys(
GetCryptoKeysArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'gcp:kms/getCryptoKeys:getCryptoKeys',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetCryptoKeysResult.fromMap(result);
}