public interface VaultTokenOperations
| Modifier and Type | Method and Description |
|---|---|
VaultTokenResponse |
create()
Create a new token.
|
VaultTokenResponse |
create(VaultTokenRequest request)
Create a new token for the given
VaultTokenRequest. |
VaultTokenResponse |
createOrphan()
Create a new orphan token.
|
VaultTokenResponse |
createOrphan(VaultTokenRequest request)
Create a new orphan token for the given
VaultTokenRequest. |
VaultTokenResponse |
renew(VaultToken vaultToken)
Renew a
VaultToken. |
void |
revoke(VaultToken vaultToken)
Revoke a
VaultToken. |
void |
revokeOrphan(VaultToken vaultToken)
Revoke a
VaultToken but not its child tokens. |
VaultTokenResponse create() throws VaultException
VaultTokenResponseVaultExceptionVaultTokenResponse create(VaultTokenRequest request) throws VaultException
VaultTokenRequest.request - must not be null.VaultTokenResponseVaultExceptionVaultTokenResponse createOrphan()
VaultTokenResponseVaultTokenResponse createOrphan(VaultTokenRequest request)
VaultTokenRequest.request - must not be null.VaultTokenResponseVaultTokenResponse renew(VaultToken vaultToken)
VaultToken.vaultToken - must not be null.VaultTokenResponsevoid revoke(VaultToken vaultToken)
VaultToken.vaultToken - must not be null.void revokeOrphan(VaultToken vaultToken)
VaultToken but not its child tokens.vaultToken - must not be null.Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.