Interface Kv1Secrets
- All Superinterfaces:
Secrets
Secrets for KV version 1 secrets engine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Engine<Kv1Secrets> KV (Key/Value) secrets engine version 1. -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateKv1.Request request) Create a new secret on the defined path.default CreateKv1.ResponseCreate a new secret on the defined path.delete(DeleteKv1.Request request) Delete the secret.default DeleteKv1.ResponseDelete the secret.get(GetKv1.Request request) Get a secret.Get a secret.update(UpdateKv1.Request request) Update a secret on the defined path.default UpdateKv1.ResponseUpdate a secret on the defined path.
-
Field Details
-
ENGINE
KV (Key/Value) secrets engine version 1.Documentation: https://www.vaultproject.io/docs/secrets/kv/kv-v1
-
-
Method Details
-
get
Get a secret.- Parameters:
path- relative to the mount point, no leading slash- Returns:
- the secret if exists
-
get
Get a secret.- Parameters:
request- with secret's path- Returns:
- response with secret if found
-
create
Create a new secret on the defined path.- Parameters:
path- relative to the mount point, no leading slashnewSecretValues- values to use in the new secret- Returns:
- vault response
-
create
Create a new secret on the defined path.- Parameters:
request- with path and secret's values- Returns:
- vault response
-
update
Update a secret on the defined path. The new values replace existing values.- Parameters:
path- relative to the mount point, no leading slashnewValues- new values of the secret- Returns:
- vault response
-
update
Update a secret on the defined path. The new values replace existing values.- Parameters:
request- with secret's path and new values- Returns:
- vault response
-
delete
Delete the secret.- Parameters:
path- relative to the mount point, no leading slash- Returns:
- vault response
-
delete
Delete the secret.- Parameters:
request- request with secret's path- Returns:
- vault response
-