Inner Drive Extensible Architecture
C#
Show/Hide TOC
Key
Vault
Secret
Provider
Get
Secret
Async Method
Gets a secret configuration value
Definition
Namespace:
InnerDrive.Azure
Assembly:
InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
C#
Copy
public
Task
<
string
?>
GetSecretAsync
(
string
key
)
Parameters
key
String
The configuration key
Return Value
Task
String
The configuration value
Implements
ISecretProvider
GetSecretAsync(String)
Remarks
This method will search the injected configuration and the environment if the secret is not contained in the key vault
See Also
Reference
KeyVaultSecretProvider Class
InnerDrive.Azure Namespace
In This Article
Definition
Parameters
Return Value
Implements
Remarks
See Also