-
- All Known Subinterfaces:
CubbyholeSecrets
,DbSecrets
,Kv1Secrets
,Kv2Secrets
,PkiSecrets
,TransitSecrets
public interface Secrets
All engines provide an implementation of this interface with specific methods for these engines.- See Also:
Engine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<String>
list()
List available secrets.VaultOptionalResponse<ListSecrets.Response>
list(ListSecrets.Request request)
List available secrets.default List<String>
list(String path)
List available secrets on a path.
-
-
-
Method Detail
-
list
default List<String> list()
List available secrets. This method will return an empty list if no data found.- Returns:
- secrets available
-
list
default List<String> list(String path)
List available secrets on a path. To get root list, use empty string for path. This method will return an empty list if no data found.- Parameters:
path
- path to find secrets in- Returns:
- secrets available
-
list
VaultOptionalResponse<ListSecrets.Response> list(ListSecrets.Request request)
List available secrets.- Parameters:
request
- request- Returns:
- future with response
-
-