Documentation
¶
Overview ¶
Package internal holds the AWS store and staging-scope wiring that the aws param, secret and stage command packages share.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmTarget ¶
ConfirmTarget describes the AWS target (profile, account, region) for a confirmation prompt, through the same resolver the TUI and GUI use. It returns "" when the caller identity cannot be resolved, so the prompt shows no target line.
func ParamStore ¶
ParamStore resolves a provider.Store for AWS SSM Parameter Store via the registry. The AWS factory builds its client from the ambient AWS config (region from env/profile), so the scope carries only the provider.
func SecretStore ¶
SecretStore resolves a provider.Store for AWS Secrets Manager via the registry. The AWS factory builds its client from the ambient AWS config (region from env/profile), so the scope carries only the provider.
func StagingScopeResolver ¶
func StagingScopeResolver(ctx context.Context) (staging.ResolvedScope, error)
StagingScopeResolver resolves the AWS staging scope (account + region) from the STS caller identity, through the shared staging binding. Both AWS services share it. It satisfies staging.ScopeResolver.
Types ¶
This section is empty.