Documentation
¶
Overview ¶
Package aws provides the "suve aws" command group: the explicit, always-present home for the AWS backends (Parameter Store, Secrets Manager, and staging for both). It mirrors the gcloud/azure groups so that AWS is a peer provider rather than a special top-level default. The top-level `param` / `secret` aliases are added separately (and only when AWS is the uniquely active provider); this group is what you always get with an explicit `suve aws ...`.
Index ¶
- func Command() *cli.Command
- func FlatParamCommand(name string) *cli.Command
- func FlatSecretCommand(name string) *cli.Command
- func FlatStageCommand(name string) *cli.Command
- func StageCommand() *cli.Command
- func StageGlobalConfig() stgcli.GlobalConfig
- func StageParamCommand() *cli.Command
- func StageSecretCommand() *cli.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command returns the aws command group with the param (Parameter Store), secret (Secrets Manager), and stage (staging) subcommands.
func FlatParamCommand ¶ added in v1.10.0
FlatParamCommand returns the AWS Parameter Store (param) command as a standalone top-level command named `name`. AWS needs no group-level flags, so the param group is self-contained. Used for the flat `suve param` alias when AWS is the uniquely active param provider.
func FlatSecretCommand ¶ added in v1.10.0
FlatSecretCommand returns the AWS Secrets Manager (secret) command as a standalone top-level command named `name`. Used for the flat `suve secret` alias when AWS is the uniquely active secret provider.
func FlatStageCommand ¶ added in v1.10.0
FlatStageCommand returns the AWS stage command as a standalone top-level command named `name` (e.g. "stage"), carrying the per-service subgroups and the all-service commands. Used for the flat `suve stage` alias when AWS is the uniquely active staging provider.
func StageCommand ¶ added in v1.10.0
StageCommand returns the "aws stage" command with the param and secret staging subgroups plus the provider-wide global commands (status / diff / apply / reset / export / import) spanning both services.
func StageGlobalConfig ¶ added in v1.10.0
func StageGlobalConfig() stgcli.GlobalConfig
StageGlobalConfig builds the provider-wide stage config for AWS: param + secret share one account/region staging scope, so the all-service commands include export and import.
func StageParamCommand ¶ added in v1.10.0
StageParamCommand returns the "param" staging subgroup (SSM Parameter Store).
func StageSecretCommand ¶ added in v1.10.0
StageSecretCommand returns the "secret" staging subgroup (Secrets Manager).
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package internal holds the AWS store and staging-scope wiring that the aws param, secret and stage command packages share.
|
Package internal holds the AWS store and staging-scope wiring that the aws param, secret and stage command packages share. |
|
Package param provides CLI commands for AWS SSM Parameter Store.
|
Package param provides CLI commands for AWS SSM Parameter Store. |
|
Package secret provides CLI commands for AWS Secrets Manager.
|
Package secret provides CLI commands for AWS Secrets Manager. |