Help us shape the future of Go! Take the 2026 Go Developer Survey

internal

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 5 Imported by: 0

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

func ConfirmTarget(ctx context.Context) string

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

func ParamStore(ctx context.Context) (provider.Store, error)

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

func SecretStore(ctx context.Context) (provider.Store, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL