getKey

suspend fun getKey(argument: GetKeyPlainArgs): GetKeyResult

Gets the current version of the specified key from the specified key vault. Uses Azure REST API version 2023-02-01. Other available API versions: 2023-07-01, 2024-04-01-preview, 2024-11-01, 2024-12-01-preview.

Return

The key resource.

Parameters

argument

null


suspend fun getKey(keyName: String, resourceGroupName: String, vaultName: String): GetKeyResult

Return

The key resource.

Parameters

keyName

The name of the key to be retrieved.

resourceGroupName

The name of the resource group which contains the specified key vault.

vaultName

The name of the vault which contains the key to be retrieved.

See also


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

Return

The key resource.

Parameters

argument

Builder for com.pulumi.azurenative.keyvault.kotlin.inputs.GetKeyPlainArgs.

See also