Uses of Class
org.forgerock.secrets.gcpkms.GoogleKmsSecretStore.Builder
Packages that use GoogleKmsSecretStore.Builder
Package
Description
A secret store implementation that can retrieve keys from a Google Cloud Platform Key Management Service.
-
Uses of GoogleKmsSecretStore.Builder in org.forgerock.secrets.gcpkms
Methods in org.forgerock.secrets.gcpkms that return GoogleKmsSecretStore.BuilderModifier and TypeMethodDescriptionstatic GoogleKmsSecretStore.BuilderGoogleKmsSecretStore.builder()Creates a newGoogleKmsSecretStore.Builderobject for configuring this secret store.Sets the clock to use for determining how long keys should be cached for.GoogleKmsSecretStore.Builder.credentials(com.google.auth.Credentials credentials) Sets the fixed credentials to use for the connection to GCP.GoogleKmsSecretStore.Builder.credentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider) Set the provider for credentials for the connection to GCP.GoogleKmsSecretStore.Builder.cryptoKeyCacheDuration(Duration cryptoKeyCacheDuration) The amount of time to cache crypto keys retrieved from the KMS.GoogleKmsSecretStore.Builder.cryptoKeyCacheMaxSize(long cryptoKeyCacheMaxSize) The maximum size of the cache for crypto keys retrieved from the KMS.GoogleKmsSecretStore.Builder.cryptoKeyMapping(Function<Purpose<? extends CryptoKey>, String> cryptoKeyMapping) Sets the mapping from purposes to crypto key names in KMS.GoogleKmsSecretStore.Builder.cryptoKeyMapping(Map<Purpose<? extends CryptoKey>, String> mapping) Sets the mapping from purposes to crypto key names in KMS.GoogleKmsSecretStore.Builder.cryptoKeyVersionCacheDuration(Duration cryptoKeyVersionCacheDuration) The amount of time to cache crypto key versions retrieved from the KMS.GoogleKmsSecretStore.Builder.cryptoKeyVersionCacheMaxSize(long cryptoKeyVersionCacheMaxSize) The maximum size of the cache for crypto key versions retrieved from the KMS.GoogleKmsSecretStore.Builder.keyRing(com.google.cloud.kms.v1.KeyRingName keyRing) Sets the keyring to use as the basis for this secret store.Sets the name of a keyring to use as a basis for this secret store.Sets the key ring based on the given project, location, and key ring names.GoogleKmsSecretStore.Builder.publicKeyCacheDuration(Duration publicKeyCacheDuration) The amount of time to cache public keys retrieved from the KMS.GoogleKmsSecretStore.Builder.publicKeyCacheMaxSize(long publicKeyCacheMaxSize) The maximum size of the cache for public keys retrieved from the KMS.