secrets

package
v1.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SecretsCmd = &cobra.Command{
	Use:   "secrets",
	Short: "Securely manage, list, and inject organization-level secrets across environments",
	PersistentPreRunE: func(cmdObj *cobra.Command, args []string) error {
		if orgID == "" {
			activeOrg, err := cli.GetActiveOrg()
			if err != nil || activeOrg == "" {
				return fmt.Errorf("no organization specified. Pass --org flag or run 'crate session org set' first")
			}
			orgID = activeOrg
		}
		return nil
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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