IAzureKeyVaultResource.GetSecret(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a secret reference for the specified secret name.
public Aspire.Hosting.Azure.IAzureKeyVaultSecretReference GetSecret(string secretName);
abstract member GetSecret : string -> Aspire.Hosting.Azure.IAzureKeyVaultSecretReference
Public Function GetSecret (secretName As String) As IAzureKeyVaultSecretReference
Parameters
- secretName
- String
The name of the secret.
Returns
A reference to the secret.