Class EnvSecretSource

    • Constructor Detail

      • EnvSecretSource

        public EnvSecretSource()
    • Method Detail

      • reveal

        public Optional<String> reveal​(String secret)
        Description copied from class: SecretSource
        Reveal the plaintext value of a secret.
        Specified by:
        reveal in class SecretSource
        secret - the variable reference to reveal
        the secret's value, or Optional.empty() if a recoverable error occurred. (An empty Optional will allow CasC to continue processing the resolver chain.)

        Recoverable errors include:

        • the secret was not found in the backing store