Interface CubbyholeSecretsRx
- All Superinterfaces:
SecretsRx
Cubbyhole engine secrets API.
Cubbyhole secrets are scoped to the current token and are not visible by other users.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Engine<CubbyholeSecretsRx>
Cubbyhole (token scoped) secrets engine. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(CreateCubbyhole.Request request) Create a new secret on the defined path.default Single<CreateCubbyhole.Response>
Create a Cubbyhole secret.delete
(DeleteCubbyhole.Request request) Delete the secret.default Single<DeleteCubbyhole.Response>
Delete a Cubbyhole secret.get
(GetCubbyhole.Request request) Get a secret.Get a Cubbyhole secret.update
(UpdateCubbyhole.Request request) Update a secret on the defined path.
-
Field Details
-
ENGINE
Cubbyhole (token scoped) secrets engine.Documentation: https://www.vaultproject.io/docs/secrets/cubbyhole
-
-
Method Details
-
get
Get a Cubbyhole secret.- Parameters:
path
- secret's path- Returns:
- secret if found
-
create
Create a Cubbyhole secret.- Parameters:
path
- secret's pathvalues
- value of the new secret- Returns:
- vault response
-
delete
Delete a Cubbyhole secret.- Parameters:
path
- secret's path- Returns:
- vault response
-
get
Get a secret.- Parameters:
request
- get cubbyhole request- Returns:
- the secret if exists
-
create
Create a new secret on the defined path.- Parameters:
request
- create cubbyhole request- Returns:
- vault response
-
update
Update a secret on the defined path. The new values replace existing values.- Parameters:
request
- update request (same as create request)- Returns:
- vault response
-
delete
Delete the secret.- Parameters:
request
- delete request- Returns:
- vault response
-