Skip to content

Commit

Permalink
backport of commit c56b198 (#17720)
Browse files Browse the repository at this point in the history
Co-authored-by: aphorise <[email protected]>
  • Loading branch information
1 parent 8cca495 commit 9934cc3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions website/content/api-docs/secret/ssh.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,13 @@ $ curl \

## Sign SSH Key

This endpoint signs an SSH public key based on the supplied parameters, subject
to the restrictions contained in the role named in the endpoint.
This endpoint signs an SSH public key based on the supplied parameters and
subject to the restrictions of the role named in the path. Both `create` and
`update` policy capabilities are needed to sign and update SSH keys. If only
`create` capability is granted, and a SSH key does not exist, it will be created
using the default parameters already configured. If only `update` capability is
available and a SSH key does not exist, an error will be returned and SSH keys
must exist already before may be updated.

| Method | Path |
| :----- | :---------------- |
Expand Down

0 comments on commit 9934cc3

Please sign in to comment.