Package com.strongdm.api
Class SecretEngines
java.lang.Object
com.strongdm.api.SecretEngines
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(SecretEngine secretEngine) Create creates a secret engineDelete deletes a secret enginegenerateKeys
(String secretEngineId) GenerateKeys generates a private key, stores it in a secret store and stores a public key in a secret engineGet returns a secret engine detailshealthcheck
(String secretEngineId) Healthcheck triggers a healthcheck for all nodes serving a secret engineList returns a list of Secret EngineslistSecretStores
(String filter, Object... args) ListSecretStores returns a list of Secret Stores that can be used as a backing store for Secret Enginerotate
(String id, SecretEnginePasswordPolicy passwordPolicy) Rotate rotates secret engine's credentialsupdate
(SecretEngine secretEngine) Update updates a secret enginewithDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the SecretEngines service which has the given deadline set for all method calls.
-
Constructor Details
-
SecretEngines
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the SecretEngines service which has the given deadline set for all method calls. -
list
List returns a list of Secret Engines- Throws:
RpcException
-
get
Get returns a secret engine details- Throws:
RpcException
-
create
Create creates a secret engine- Throws:
RpcException
-
update
Update updates a secret engine- Throws:
RpcException
-
delete
Delete deletes a secret engine- Throws:
RpcException
-
listSecretStores
ListSecretStores returns a list of Secret Stores that can be used as a backing store for Secret Engine- Throws:
RpcException
-
generateKeys
GenerateKeys generates a private key, stores it in a secret store and stores a public key in a secret engine- Throws:
RpcException
-
healthcheck
Healthcheck triggers a healthcheck for all nodes serving a secret engine- Throws:
RpcException
-
rotate
public SecretEngineRotateResponse rotate(String id, SecretEnginePasswordPolicy passwordPolicy) throws RpcException Rotate rotates secret engine's credentials- Throws:
RpcException
-