Package com.strongdm.api
Class ManagedSecrets
java.lang.Object
com.strongdm.api.ManagedSecrets
ManagedSecret is a private vertical for creating, reading, updating,
deleting, listing and rotating the managed secrets in the secrets engines as
an authenticated user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ManagedSecret managedSecret) Create creates a Managed SecretDelete deletes a Managed SecretGet gets details of a Managed Secret without sensitive dataList returns Managed Secrets from a Secret Engine.listByActor
(String filter, Object... args) List returns Managed Secrets for an Actor from a Secret Engine.Logs returns the audit records for the managed secret.Retrieve returns Managed Secret with sensitive dataRotate forces rotation of Managed Secretupdate
(ManagedSecret managedSecret) Update updates a Managed SecretValidate returns the result of testing the stored credential against the secret engine.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the ManagedSecrets service which has the given deadline set for all method calls.
-
Constructor Details
-
ManagedSecrets
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the ManagedSecrets service which has the given deadline set for all method calls. -
list
List returns Managed Secrets from a Secret Engine.- Throws:
RpcException
-
listByActor
List returns Managed Secrets for an Actor from a Secret Engine.- Throws:
RpcException
-
create
Create creates a Managed Secret- Throws:
RpcException
-
update
Update updates a Managed Secret- Throws:
RpcException
-
rotate
Rotate forces rotation of Managed Secret- Throws:
RpcException
-
delete
Delete deletes a Managed Secret- Throws:
RpcException
-
get
Get gets details of a Managed Secret without sensitive data- Throws:
RpcException
-
retrieve
Retrieve returns Managed Secret with sensitive data- Throws:
RpcException
-
validate
Validate returns the result of testing the stored credential against the secret engine.- Throws:
RpcException
-
logs
Logs returns the audit records for the managed secret. This may be replaced in the future.- Throws:
RpcException
-