getSecret

Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets. Uses Azure REST API version 2024-11-01. Other available API versions: 2023-02-01, 2023-07-01, 2024-04-01-preview, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native keyvault [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Resource information with extended details.

Parameters

argument

null


suspend fun getSecret(resourceGroupName: String, secretName: String, vaultName: String): GetSecretResult

Return

Resource information with extended details.

Parameters

resourceGroupName

The name of the Resource Group to which the vault belongs.

secretName

The name of the secret.

vaultName

The name of the vault.

See also


suspend fun getSecret(argument: suspend GetSecretPlainArgsBuilder.() -> Unit): GetSecretResult

Return

Resource information with extended details.

Parameters

argument

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

See also