List of usage examples for org.springframework.vault.core.lease.domain RequestedSecret getPath
public String getPath()
From source file:org.springframework.vault.core.env.LeaseAwareVaultPropertySource.java
/** * Create a new {@link LeaseAwareVaultPropertySource} given a * {@link SecretLeaseContainer} and {@link RequestedSecret}. This property source * requests the secret upon initialization and receives secrets once they are emitted * through events published by {@link SecretLeaseContainer}. * * @param secretLeaseContainer must not be {@literal null}. * @param requestedSecret must not be {@literal null}. *//* w ww . j a v a 2 s . com*/ public LeaseAwareVaultPropertySource(SecretLeaseContainer secretLeaseContainer, RequestedSecret requestedSecret) { this(requestedSecret.getPath(), secretLeaseContainer, requestedSecret); }