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
VaultTokenResponse
VaultException
VaultTokenResponse create(VaultTokenRequest request) throws VaultException
VaultTokenRequest
.request
- must not be null.VaultTokenResponse
VaultException
VaultTokenResponse createOrphan()
VaultTokenResponse
VaultTokenResponse createOrphan(VaultTokenRequest request)
VaultTokenRequest
.request
- must not be null.VaultTokenResponse
VaultTokenResponse renew(VaultToken vaultToken)
VaultToken
.vaultToken
- must not be null.VaultTokenResponse
void 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–2022 Pivotal Software, Inc.. All rights reserved.