boundary credential-libraries update
credential-libraries update command lets you update Boundary credential library resources.
The following example updates an existing Vault credential library with the ID
csvlt_5fvkRjCjou to point to a new Vault secrets engine path:
$ boundary credential-libraries update vault-generic \ -id csvlt_5fvkRjCjou \ -vault-path "database/creds/db-mysql"
Credential Library information: Created Time: Fri, 18 Aug 2023 16:22:29 PDT Credential Store ID: csvlt_5fvkRjCjou ID: clvlt_QYnQPAjA24 Name: northwind dba Type: vault-generic Updated Time: Fri, 18 Aug 2023 20:04:27 PDT Version: 2 Scope: ID: p_tnqESc86qE Name: db-project Parent Scope ID: o_4VUR6ZATqW Type: project Authorized Actions: no-op read update delete Attributes: HTTP Method: GET Path: database/creds/db-mysql
$ boundary credential-libraries update vault [options] [args]
(string: "")- A description to set on the credential library.
(string: "")- The ID of the credential library to update.
(string: "")- A name to set on the credential library.
(int: 0)- The version of the credential library against which to perform the update operation. If you don't specify a version, the command performs a check-and-set automatically.
The available types are
A credential library type,
vault is deprecated, so use
credential-libraries update vault-generic command lets you update a generic Vault credential library.
The following example updates a generic Vault credential library with the ID
clvlt_1234567890 to add the name
devops and the description
For DevOps usage:
$ boundary credential-libraries update vault-generic \ -id clvlt_1234567890 \ -name devops \ -description "For DevOps usage"
$ boundary credential-libraries create vault-generic [options] [args]
The following are specific Vault credential library options in addition to the command options:
-credential-mapping-override- An override for credential mapping.
(string: "")- The HTTP method the library should use when it communicates with Vault.
(strinboundary credential-libraries update vault-ssh-certificate -id clvsclt_1234567890 -name devops -description "For DevOps usage": "")- The HTTP request body the credential library uses to communicate with Vault. This value can be the HTTP request body itself, it can refer to a file on disk (
file://) from which the value is read, or it can refer to an environment variable (
env://) from which the value is read.
(string: "")- The path in Vault to request credentials from.