-
- All Known Subinterfaces:
CubbyholeSecretsRx
,DbSecretsRx
,Kv1SecretsRx
,Kv2SecretsRx
,PkiSecretsRx
,TransitSecretsRx
public interface SecretsRx
All engines provide an implementation of this interface with specific methods for these engines. This is a reactive base for secrets.- See Also:
Engine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Single<List<String>>
list()
List available secrets.Single<VaultOptionalResponse<ListSecrets.Response>>
list(ListSecrets.Request request)
List available secrets.default Single<List<String>>
list(String path)
List available secrets on a path.
-
-
-
Method Detail
-
list
default Single<List<String>> list()
List available secrets. This method will return an empty list if no data found.- Returns:
- secrets available
-
list
default Single<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
Single<VaultOptionalResponse<ListSecrets.Response>> list(ListSecrets.Request request)
List available secrets.- Parameters:
request
- request- Returns:
- future with response
-
-