Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
Resolve resolves a value that may be a plain string, an SSM parameter path, or an ARN pointing to either Secrets Manager or SSM Parameter Store.
func ResolveParameter ¶
func ResolveSecret ¶
ResolveSecret fetches a secret from AWS Secrets Manager using an extended ARN format:
arn:aws:secretsmanager:region:account_id:secret:secret-name:json-key:version-stage:version-id
If json-key is provided, the secret is parsed as a JSON map and the value at that key is returned as a json.RawMessage. If json-key is omitted, the raw secret value is returned. Version-stage and version-id are optional and fall back to Secrets Manager defaults (AWSCURRENT) when not specified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.