updates
This commit is contained in:
31
README.md
31
README.md
@@ -81,5 +81,34 @@ Data
|
||||
### Secrets Operations
|
||||
|
||||
#### Store
|
||||
POST `/api/secret/store`
|
||||
|
||||
```
|
||||
{
|
||||
"deviceName": "",
|
||||
"deviceCategory": "",
|
||||
"userName": "",
|
||||
"secretValue": ""
|
||||
}
|
||||
```
|
||||
|
||||
Must be logged in to execute this command. Role of current user cannot be a ReadOnly role. Secret will be stored with the RoleId of the currently logged in user. Either deviceName or deviceCategory can be blank but not both.
|
||||
|
||||
#### Retrieve
|
||||
#### Update
|
||||
GET `/api/secret/retrieve`
|
||||
|
||||
Data
|
||||
```
|
||||
{
|
||||
"deviceName": "",
|
||||
"deviceCategory": ""
|
||||
}
|
||||
```
|
||||
|
||||
Must be logged in to execute this command. Only secrets registered with the current user's RoleId can be retrieved.
|
||||
|
||||
Either deviceName or deviceCategory can be specified (or both). Wildcards are supported.
|
||||
1. The percent sign % wildcard matches any sequence of zero or more characters.
|
||||
2. The underscore _ wildcard matches any single character.
|
||||
|
||||
#### Update
|
||||
|
Reference in New Issue
Block a user