mirror of
https://github.com/kharonsec/garage.git
synced 2026-05-05 00:31:58 +02:00
admin and cli: hide secret keys unless asked
This commit is contained in:
@@ -411,6 +411,9 @@ If `id` is set, the key is looked up using its exact identifier (faster).
|
||||
If `search` is set, the key is looked up using its name or prefix
|
||||
of identifier (slower, all keys are enumerated to do this).
|
||||
|
||||
Optionnally, the query parameter `showSecretKey=true` can be set to reveal the
|
||||
associated secret access key.
|
||||
|
||||
Example response:
|
||||
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user