Skip to content

Commit

Permalink
backport of commit 8fa8d49
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan-Heath committed Oct 25, 2023
1 parent d9d1904 commit f7f7739
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/content/docs/commands/credential-libraries/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ $ boundary credential-libraries create vault-ssh-certificate [options] [args]

The following are options are specific to the Vault SSH certificate credential library, in addition to the command options:

- `-additional-valid-principal` - Any additional users or groups that you want to configure as valid principals.
By default, Boundary only passes the username to Vault to sign as a valid principal.
Use this option when you want to configure additional users or groups as valid principals that the certificate should be signed for in Vault.

For more information, refer to OpenSSH's definition of [valid principals](https://github.com/openssh/openssh-portable/blob/5f93c4836527d9fda05de8944a1c7b4a205080c7/PROTOCOL.certkeys#L176-L181) and Vault's [SSH secrets engine](https://developer.hashicorp.com/vault/api-docs/secret/ssh#valid_principals) documentation.
- `-critical-option` - A key=value pair to add to the request's
critical-options map.
It can also be a key value only which sets a JSON null as the value.
Expand Down
5 changes: 5 additions & 0 deletions website/content/docs/commands/credential-libraries/update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ $ boundary credential-libraries update vault-ssh-certificate [options] [args]

The following are options specific to the Vault SSH certificate credential library, in addition to the command options:

- `-additional-valid-principal` - Any additional users or groups that you want to configure as valid principals.
By default, Boundary only passes the username to Vault as a valid principal.
Use this option when you want to configure additional users or groups as valid principals that the certificate should be signed for in Vault.

For more information, refer to OpenSSH's definition of [valid principals](https://github.com/openssh/openssh-portable/blob/5f93c4836527d9fda05de8944a1c7b4a205080c7/PROTOCOL.certkeys#L176-L181) and Vault's [SSH secrets engine](https://developer.hashicorp.com/vault/api-docs/secret/ssh#valid_principals) documentation.
- `-critical-option` - A key=value pair to add to the request's
critical-options map.
It can also be a key value only which sets a JSON null as the value.
Expand Down

0 comments on commit f7f7739

Please sign in to comment.