static GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.builder() |
|
GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.Builder.clock(Clock clock) |
Specifies the clock to use to determine when secrets will expire.
|
GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.Builder.credentials(com.google.auth.Credentials credentials) |
Sets the fixed credentials to use for the connection to GCP.
|
GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.Builder.credentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider) |
Set the provider for credentials for the connection to GCP.
|
GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.Builder.expiryDuration(Duration duration) |
Specifies how long secrets retrieved from Secrets Manager can be cached by clients for.
|
GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.Builder.formatMapping(Function<Purpose<?>,Optional<SecretDecoder>> formatMapping) |
Specifies a SecretDecoder to use to decode data returned by Secret Manager.
|
GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.Builder.project(String projectName) |
Specifies the GCP project name that contains the secrets.
|
GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.Builder.purposeMapping(Function<Purpose<?>,String> purposeMapping) |
Specifies the GCP secret name to use for the given purpose.
|
GoogleSecretManagerSecretStore.Builder |
GoogleSecretManagerSecretStore.Builder.purposeMapping(Map<Purpose<?>,String> purposeMapping) |
Specifies the GCP secret name to use for the given purpose.
|