getKey

suspend fun getKey(argument: GetKeyPlainArgs): GetKeyResult

Gets the metadata for an API key. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is global.

Return

null

Parameters

argument

null


suspend fun getKey(keyId: String, location: String, project: String? = null): GetKeyResult

Return

null

Parameters

keyId
location
project

See also


suspend fun getKey(argument: suspend GetKeyPlainArgsBuilder.() -> Unit): GetKeyResult

Return

null

Parameters

argument

Builder for com.pulumi.googlenative.apikeys.v2.kotlin.inputs.GetKeyPlainArgs.

See also