Package codes.grow.packages.infisical
Class SecretsProviderOptions
java.lang.Object
codes.grow.packages.infisical.SecretsProviderOptions
Configures a
ProjectSecretsProvider; unset fields fall back to the client configuration.
Build it with builder(); immutable.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbasePath()Returns the folder secret names are relative to (default: the client's secretPath).builder()Starts a builder.static SecretsProviderOptionsdefaults()Returns the options with every field at its default.Returns the environment slug (default: the client's environment).booleanReturns whether references are expanded on reads (default true).booleanReturns whether keys are found through secret imports on get and getAll (default true).Returns the project id (default: the client's projectId).
-
Method Details
-
defaults
Returns the options with every field at its default.- Returns:
- the default options
-
builder
Starts a builder.- Returns:
- a new builder
-
projectId
Returns the project id (default: the client's projectId).- Returns:
- the value
-
environment
Returns the environment slug (default: the client's environment).- Returns:
- the value
-
basePath
Returns the folder secret names are relative to (default: the client's secretPath).- Returns:
- the value
-
expandReferences
public boolean expandReferences()Returns whether references are expanded on reads (default true).- Returns:
- the value
-
includeImports
public boolean includeImports()Returns whether keys are found through secret imports on get and getAll (default true).- Returns:
- the value
-