Skip to main content

NewFileEnvSecretManager

No overview available.

def NewFileEnvSecretManager(
cfg: *Config
) - > FileEnvSecretManager

Initializes and returns a new FileEnvSecretManager instance. This function sets up the secret manager with the specified secret file prefix and environment variable prefix, allowing it to manage secrets based on these configurations.

Parameters​

NameTypeDescription
cfg*ConfigThe configuration object containing the SecretFilePrefix and EnvironmentPrefix to be used by the secret manager.

Returns​

TypeDescription
FileEnvSecretManagerA new instance of FileEnvSecretManager configured with the provided settings.