List the keys of a vault
Keys and their current revision; values are never returned. A workspace's vault id is `Workspace.vault_id`. Needs `workspace.view` on the workspace that uses the vault.
openapi/harthelm.yaml at v1.5.0__Host-harthelm_session<token>Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header
Harthelm-CSRF: 1 and a matching Origin.
vault*integerA vault id, e.g. Workspace.vault_id.
int641 <= valuelimit?integerMaximum number of items per page.
1 <= value <= 20050cursor?stringOpaque cursor from next_cursor of the previous page.
length <= 1024A page of keys, sorted by key.
application/json- response
next_cursor?stringAbsent on the last page.
items*array<>curl -X GET 'https://console.example.com/api/v1/vaults/1/keys'{ "next_cursor": "string", "items": [ { "key": "string", "revision": 1, "generated": true, "created_at": "2019-08-24T14:15:22Z", "created_by": 1 } ]}Generate a secret
Stores a new revision with a random value that satisfies the password policy (crypto/rand); the value is not returned. Needs `landscape.manage` on the workspace that uses the vault.
Set a secret
Stores a new revision of the key, encrypted with the vault's data key. Services that reference the key get the value at their next Sync. Needs `landscape.manage` on the workspace that uses the vault.