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
| Name | Type | Description |
|---|---|---|
| cfg | *Config | The configuration object containing the SecretFilePrefix and EnvironmentPrefix to be used by the secret manager. |
Returns
| Type | Description |
|---|---|
FileEnvSecretManager | A new instance of FileEnvSecretManager configured with the provided settings. |