Class ConfigProperties


  • public final class ConfigProperties
    extends Object
    Properties and their default values.
    • Field Detail

      • MASTER_PASSWORD_ENV_VARIABLE

        public static final String MASTER_PASSWORD_ENV_VARIABLE
        Environment variable to set master password ("SECURE_CONFIG_AES_MASTER_PWD").
        See Also:
        Constant Field Values
      • MASTER_PASSWORD_CONFIG_KEY

        public static final String MASTER_PASSWORD_CONFIG_KEY
        Configuration property key to set master password ("security.config.aes.insecure-passphrase").
        See Also:
        Constant Field Values
      • PRIVATE_KEYSTORE_PATH_ENV_VARIABLE

        public static final String PRIVATE_KEYSTORE_PATH_ENV_VARIABLE
        Environment variable to set location of private key ("SECURE_CONFIG_RSA_PRIVATE_KEY") keystore. Absolute path or path relative to working directory.
        See Also:
        Constant Field Values
      • PRIVATE_KEY_PEM_PATH_ENV_VARIABLE

        public static final String PRIVATE_KEY_PEM_PATH_ENV_VARIABLE
        Environment variable to set location of private key ("SECURE_CONFIG_RSA_PEM_KEY") PEM file.
        See Also:
        Constant Field Values
      • REQUIRE_ENCRYPTION_ENV_VARIABLE

        public static final String REQUIRE_ENCRYPTION_ENV_VARIABLE
        Environment variable to set whether to require encryption of secrets or not ("SECURE_CONFIG_REQUIRE_ENCRYPTION"). If set to true, an exception will be thrown in the following cases:
        • Password is stored in clear text
        • Master password is stored in configuration
        See Also:
        Constant Field Values
      • PRIVATE_KEYSTORE_TYPE_ENV_VARIABLE

        public static final String PRIVATE_KEYSTORE_TYPE_ENV_VARIABLE
        Environment variable to set key type to use. Allowed values:
        • RSA - default value, unix-like non-encrypted private key
        • PKCS12 - keystore, password protected store and/or private key
        See Also:
        Constant Field Values
      • PRIVATE_KEY_ALIAS_ENV_VARIABLE

        public static final String PRIVATE_KEY_ALIAS_ENV_VARIABLE
        Environment variable to set private key alias within a keystore.
        See Also:
        Constant Field Values
      • PRIVATE_KEYSTORE_PASS_ENV_VARIABLE

        public static final String PRIVATE_KEYSTORE_PASS_ENV_VARIABLE
        Environment variable to set pass phrase for keystore.
        See Also:
        Constant Field Values
      • PRIVATE_KEY_PASS_ENV_VARIABLE

        public static final String PRIVATE_KEY_PASS_ENV_VARIABLE
        Environment variable to set pass phrase for private key.
        See Also:
        Constant Field Values
      • REQUIRE_ENCRYPTION_CONFIG_KEY

        public static final String REQUIRE_ENCRYPTION_CONFIG_KEY
        Configuration key to set whether to require encryption of secrets or not ("security.config.require-encryption"). If set to true, an exception will be thrown in the following cases:
        • Password is stored in clear text
        • Master password is stored in configuration
        See Also:
        Constant Field Values