Crate awsm_env

Source
Expand description

Awsm Env

A lightweight utility for syncing AWS Secrets Manager secrets to environment variables.

Structs§

EnvEntry
Represents a single env entry.
EnvFormatter
Formats environment entries into .env format using [EnvOutput::format]
JsonFormatter
Formats environment entries into JSON using [JsonOutput::format]
SecretConfig
ShellFormatter
Formats environment entries into shell variable export commands using [ShellOutput::format]

Enums§

SecretProviderConfig

Traits§

Formatter
By implementing Formatter a type provides a way to format an IndexMap of key value pairs

Functions§

parse
Parses a string representing the contents of an .env file returning EnvEntries
process_entries
Returns a map of key value pairs after resolving all secrets and applying placeholders and overrides.

Type Aliases§

EnvEntries
List of EnvEntrys.