-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tim Klemm
committed
Nov 16, 2023
1 parent
61d637b
commit 4d308d8
Showing
2 changed files
with
15 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
#### getSecretKeyValue | ||
string getSecretKeyValue(key, secretName) | ||
string getSecretKeyValue(key, secretName, vaultId) | ||
string getSecretKeyValue(key, secretName, vaultId, version) | ||
string getSecretKeyValue(secretId, key) | ||
|
||
Lookup an *espUser* categorized secret based on a combination of name, vault ID, and version, and extract the property value identified by `key`. Because this function enables exposure of all data in the named secret, only secrets defined in the *espUser* category can be accessed with this function. | ||
Lookup an *espUser* categorized secret based on a secret identifier, and extract the property value identified by `key`. Because this function enables exposure of all data in the named secret, only secrets defined in the *espUser* category can be accessed with this function. | ||
|
||
| Parameter | Required? | Description | | ||
| :- | :-: | :- | | ||
| key | Y | An identifier of a possible secret property value. | | ||
| secretName | Y | The name of a potential secret. | | ||
| vaultId | N | An identifier of the repository presumed to hold the named secret. | | ||
| version | N | The requested version of the named secret. | | ||
| secretId | Y | The identity of a secret, expressed as `[ vaultId "::" ] secretName [ "::" version ]`. A `secretName` is required always, and a `vaultId` is required before a version can be given. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters