SecretConfig.Cache.Server (secret_config v1.0.0)
A GenServer for handling secret configurations either locally or via SSM parameter store.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Initializes the GenServer state.
Starts the GenServer with the given options.
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
init(env)
Specs
Initializes the GenServer state.
Parameters
- env: The environment name, which can be
nil, causing fallback to the application config or default.
Link to this function
start_link(opts)
Specs
start_link(keyword()) :: GenServer.on_start()
Starts the GenServer with the given options.
Parameters
- opts: The options for starting the GenServer.