Package | Description |
---|---|
org.springframework.vault.core.env |
Spring Vault's environment abstraction consisting property source support.
|
org.springframework.vault.core.lease |
The core package implementing lease renewal and secret rotation.
|
org.springframework.vault.core.lease.domain |
Lease domain classes.
|
org.springframework.vault.core.lease.event |
Support classes for lease application events.
|
Modifier and Type | Method and Description |
---|---|
RequestedSecret |
LeaseAwareVaultPropertySource.getRequestedSecret() |
Constructor and Description |
---|
LeaseAwareVaultPropertySource(SecretLeaseContainer secretLeaseContainer,
RequestedSecret requestedSecret)
|
LeaseAwareVaultPropertySource(String name,
SecretLeaseContainer secretLeaseContainer,
RequestedSecret requestedSecret)
|
LeaseAwareVaultPropertySource(String name,
SecretLeaseContainer secretLeaseContainer,
RequestedSecret requestedSecret,
PropertyTransformer propertyTransformer)
|
Modifier and Type | Method and Description |
---|---|
RequestedSecret |
SecretLeaseContainer.addRequestedSecret(RequestedSecret requestedSecret)
Add a
RequestedSecret . |
RequestedSecret |
SecretLeaseContainer.requestRenewableSecret(String path)
Request a renewable secret at
path . |
RequestedSecret |
SecretLeaseContainer.requestRotatingSecret(String path)
Request a rotating secret at
path . |
Modifier and Type | Method and Description |
---|---|
RequestedSecret |
SecretLeaseContainer.addRequestedSecret(RequestedSecret requestedSecret)
Add a
RequestedSecret . |
protected VaultResponseSupport<Map<String,Object>> |
SecretLeaseContainer.doGetSecrets(RequestedSecret requestedSecret)
Retrieve secrets from
VaultOperations . |
protected Lease |
SecretLeaseContainer.doRenewLease(RequestedSecret requestedSecret,
Lease lease)
Renew a
Lease for a RequestedSecret . |
protected void |
SecretLeaseContainer.doRevokeLease(RequestedSecret requestedSecret,
Lease lease)
Revoke the
Lease . |
protected void |
SecretLeaseEventPublisher.onAfterLeaseRenewed(RequestedSecret requestedSecret,
Lease lease)
Hook method called when a
Lease is renewed. |
protected void |
SecretLeaseEventPublisher.onAfterLeaseRevocation(RequestedSecret requestedSecret,
Lease lease)
Hook method called after triggering revocation for a
Lease . |
protected void |
SecretLeaseEventPublisher.onBeforeLeaseRevocation(RequestedSecret requestedSecret,
Lease lease)
Hook method called before triggering revocation for a
Lease . |
protected void |
SecretLeaseEventPublisher.onError(RequestedSecret requestedSecret,
Lease lease,
Exception e)
Hook method called when an error occurred during secret retrieval, lease renewal,
and other Vault interactions.
|
protected void |
SecretLeaseContainer.onLeaseExpired(RequestedSecret requestedSecret,
Lease lease)
Hook method called when a
Lease expires. |
protected void |
SecretLeaseEventPublisher.onLeaseExpired(RequestedSecret requestedSecret,
Lease lease)
Hook method called when a
Lease expires. |
protected void |
SecretLeaseEventPublisher.onSecretsObtained(RequestedSecret requestedSecret,
Lease lease,
Map<String,Object> body)
Hook method called when secrets were obtained.
|
Modifier and Type | Method and Description |
---|---|
static RequestedSecret |
RequestedSecret.from(RequestedSecret.Mode mode,
String path)
|
static RequestedSecret |
RequestedSecret.renewable(String path)
Create a renewable
RequestedSecret at path . |
static RequestedSecret |
RequestedSecret.rotating(String path)
Create a rotating
RequestedSecret at path . |
Modifier and Type | Method and Description |
---|---|
RequestedSecret |
SecretLeaseEvent.getSource() |
Constructor and Description |
---|
AfterSecretLeaseRenewedEvent(RequestedSecret requestedSecret,
Lease lease)
|
AfterSecretLeaseRevocationEvent(RequestedSecret requestedSecret,
Lease lease)
|
BeforeSecretLeaseRevocationEvent(RequestedSecret requestedSecret,
Lease lease)
|
SecretLeaseCreatedEvent(RequestedSecret requestedSecret,
Lease lease,
Map<String,Object> secrets)
|
SecretLeaseErrorEvent(RequestedSecret requestedSecret,
Lease lease,
Throwable exception)
|
SecretLeaseEvent(RequestedSecret requestedSecret,
Lease lease)
|
SecretLeaseExpiredEvent(RequestedSecret requestedSecret,
Lease lease)
|
Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.