How to create a credential library to provide ssh credentials to sessions

In the new Boundary functionality for Vault integration, you can create a credential library to generate credentials for sessions.
In the example we have in the Boundary documentation, this function is used for a database.

how can i accomplish the same however with Vault’s ssh secret? Since you need to enter the ip to generate credential

Updating: I managed to make the ssh secret work by defining the http_method and http_body_request settings:

boundary credential-libraries create vault
-credential-store-id {CSVLT_ID}
-vault-path “PATH OF YOUR SSH SECRET”
-vault-http-method “POST”
-vault-http-request-body ‘{“ip”:ip you want to get credential}’

Now, on the boundary desktop, it brings me the credentials

3 Likes