API Reference
Log In
API Reference

/vault/api/v1/user/{user_id}/secrets

Create a secret.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

User ID of the user who owns the secret

Body Params
string
required

ID of the user who owns this secret

string
required
data
object

Secret to be stored.

read_roles
array of objects

List of roles that can read secret.

read_roles
write_roles
array of objects

List of roles that can replace secret.

write_roles
Responses

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here! Or choose an example:
application/json