getKeyRings function
Provides access to all Google Cloud Platform KMS CryptoKeyRings in a set location. For more information see the official documentation and API.
A key ring organizes keys in a specific Google Cloud location and lets you manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location. After creation, a key ring cannot be deleted. Key rings don't incur any costs.
args Arguments passed to this invoke. Arguments for getKeyRings.
options Invoke options controlling this call.
Implementation
Future<GetKeyRingsResult> getKeyRings(
GetKeyRingsArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'gcp:kms/getKeyRings:getKeyRings',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetKeyRingsResult.fromMap(result);
}