azure

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package azure provides CLI commands for Microsoft Azure, exposed as the "suve azure secret <op>" (Key Vault) and "suve azure param <op>" (App Configuration) command groups.

Azure splits secrets and parameters across two services:

  • Key Vault (secret): opaque-id-versioned, no staging labels.
  • App Configuration (param): UNVERSIONED — the abstraction's acid test.

Both groups reuse the same generic command scaffolding as the AWS/GoogleCloud commands via Azure-specific presenters and use cases. Each subgroup owns its address flag (--vault-name / --store-name); the target resource's globally-unique name is all that is needed to reach it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

Command returns the azure command with the secret (Key Vault) and param (App Configuration) subcommand groups.

func FlatParamCommand

func FlatParamCommand(name string) *cli.Command

FlatParamCommand returns the Azure App Configuration (param) command as a standalone top-level command named `name`. The param group already owns its --store-name flag and Before hook, so it is self-contained. Used for the flat `suve param` alias when Azure is the uniquely active param provider.

func FlatSecretCommand

func FlatSecretCommand(name string) *cli.Command

FlatSecretCommand returns the Azure Key Vault (secret) command as a standalone top-level command named `name`. The secret group already owns its --vault-name flag and Before hook, so it is self-contained. Used for the flat `suve secret` alias when Azure is the uniquely active secret provider.

func FlatStageCommand added in v0.8.1

func FlatStageCommand(name string) *cli.Command

FlatStageCommand returns the Azure stage command as a standalone top-level command named `name` (e.g. "stage"). It carries the whole StageCommand tree: the per-service secret/param subgroups (which own their own --vault-name / --store-name flags and Before hooks) AND the provider-wide global commands (status/diff/apply/reset), which rely on the parent command's global flags and Before hook injecting both resource names into the context. Used for the flat `suve stage` alias when Azure is the uniquely active staging provider.

func StageCommand added in v0.8.1

func StageCommand() *cli.Command

StageCommand returns the "azure stage" command with the secret (Key Vault) and param (App Configuration) staging subgroups plus the provider-wide global commands (status / diff / apply / reset) spanning both services.

Types

This section is empty.

Directories

Path Synopsis
Package param provides CLI commands for Azure App Configuration, exposed as the "suve azure param <op>" command group.
Package param provides CLI commands for Azure App Configuration, exposed as the "suve azure param <op>" command group.
Package secret provides CLI commands for Azure Key Vault secrets, exposed as the "suve azure secret <op>" command group.
Package secret provides CLI commands for Azure Key Vault secrets, exposed as the "suve azure secret <op>" command group.

Jump to

Keyboard shortcuts

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