Class SecretsProviderOptions

java.lang.Object
codes.grow.packages.infisical.SecretsProviderOptions

public final class SecretsProviderOptions extends Object
Configures a ProjectSecretsProvider; unset fields fall back to the client configuration. Build it with builder(); immutable.
  • Method Details

    • defaults

      public static SecretsProviderOptions defaults()
      Returns the options with every field at its default.
      Returns:
      the default options
    • builder

      public static SecretsProviderOptions.Builder builder()
      Starts a builder.
      Returns:
      a new builder
    • projectId

      public String projectId()
      Returns the project id (default: the client's projectId).
      Returns:
      the value
    • environment

      public String environment()
      Returns the environment slug (default: the client's environment).
      Returns:
      the value
    • basePath

      public String 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