getCryptoKeys

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.

Return

A collection of values returned by getCryptoKeys.

Parameters

argument

A collection of arguments for invoking getCryptoKeys.


suspend fun getCryptoKeys(filter: String? = null, keyRing: String): GetCryptoKeysResult

Return

A collection of values returned by getCryptoKeys.

Parameters

filter

The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering. Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}.

  • "name:my-key-" will retrieve keys that contain "my-key-" anywhere in their name.

  • "name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1" will only retrieve a key with that exact name. See the documentation about using filters

keyRing

The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,

See also


Return

A collection of values returned by getCryptoKeys.

Parameters

argument

Builder for com.pulumi.gcp.kms.kotlin.inputs.GetCryptoKeysPlainArgs.

See also