Interface Kv1Secrets
- All Superinterfaces:
- Secrets
Secrets for KV version 1 secrets engine.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Engine<Kv1Secrets> KV (Key/Value) secrets engine version 1.
- 
Method SummaryModifier 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- 
ENGINEKV (Key/Value) secrets engine version 1.Documentation: https://www.vaultproject.io/docs/secrets/kv/kv-v1 
 
- 
- 
Method Details- 
getGet a secret.- Parameters:
- path- relative to the mount point, no leading slash
- Returns:
- the secret if exists
 
- 
getGet a secret.- Parameters:
- request- with secret's path
- Returns:
- response with secret if found
 
- 
createCreate a new secret on the defined path.- Parameters:
- path- relative to the mount point, no leading slash
- newSecretValues- values to use in the new secret
- Returns:
- vault response
 
- 
createCreate a new secret on the defined path.- Parameters:
- request- with path and secret's values
- Returns:
- vault response
 
- 
updateUpdate a secret on the defined path. The new values replace existing values.- Parameters:
- path- relative to the mount point, no leading slash
- newValues- new values of the secret
- Returns:
- vault response
 
- 
updateUpdate a secret on the defined path. The new values replace existing values.- Parameters:
- request- with secret's path and new values
- Returns:
- vault response
 
- 
deleteDelete the secret.- Parameters:
- path- relative to the mount point, no leading slash
- Returns:
- vault response
 
- 
deleteDelete the secret.- Parameters:
- request- request with secret's path
- Returns:
- vault response
 
 
-