Authentication
SecRefs uses the standard AWS credential chain and never asks you to put a key in its own config. In order: environment variables, the shared config and credentials files (AWS_PROFILE), then container or instance roles.
On EC2 with an instance role, mid-execution expiry cannot happen — IMDS
refreshes on its own. The expiry story is a local-development concern.
Options
Field extraction
AWS secrets are commonly JSON.#field extracts one key and returns only
that key — the rest of the blob never reaches your process.
Required IAM
secretsmanager:ListSecrets is additionally used by secrefs check as a
low-privilege reachability probe.