Interface "Secret Provider v2"
Namespace: System.Security
Abstraction for secret providers.
Methods
GetSecret
Retrieves a secret value.
procedure GetSecret(SecretName: Text, var SecretValue: Text): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| SecretName | Text |
The name of the secret to retrieve. |
| SecretValue | Text |
The value of the secret, or the empty string if the value could not be retrieved. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if the secret value could be retrieved; false otherwise. |
GetSecret
Retrieves a secret value.
procedure GetSecret(SecretName: Text, var SecretValue: SecretText): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| SecretName | Text |
The name of the secret to retrieve. |
| SecretValue | SecretText |
SecretText containing the value of the secret, or the empty string if the value could not be retrieved. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if the secret value could be retrieved; false otherwise. |