static <T extends Secret> SecretReference<T> |
SecretReference.active(SecretsProvider secretsProvider,
Purpose<T> purpose,
Clock clock) |
Creates a reference to the active secret for the given purpose using the given secrets provider.
|
static <T extends Secret> SecretReference<T> |
SecretReference.constant(T secret) |
Create a constant SecretReference for the given secret, that will never expire.
|
<S extends Secret> SecretReference<S> |
SecretsProvider.createActiveReference(Purpose<S> purpose) |
Creates the secret reference from the given purpose.
|
<S extends Secret> SecretReference<S> |
SecretsProvider.createNamedReference(Purpose<S> purpose,
String name) |
Creates a reference to a secret with the given name (stable id) for the given purpose.
|
static <T extends Secret> SecretReference<T> |
SecretReference.named(SecretsProvider secretsProvider,
Purpose<T> purpose,
String name,
Clock clock) |
Creates a reference to a named secret using the given secrets provider.
|