secrets

package
v0.6.335 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSecrets

func NewCmdSecrets(t *terminal.Terminal, store SecretStore) *cobra.Command

Types

type SecretStore

type SecretStore interface {
	GetActiveOrganizationOrDefault() (*entity.Organization, error)
	CreateManagedSecret(organizationID, name, value string) (*nodev1.ManagedSecret, error)
	ListManagedSecrets(organizationID string) ([]*nodev1.ManagedSecret, error)
	GetManagedSecret(secretID string) (*nodev1.ManagedSecret, error)
	GetManagedSecretByName(organizationID, name string) (*nodev1.ManagedSecret, error)
	ListManagedSecretVersions(secretID string) ([]*nodev1.ManagedSecretVersion, error)
	GetManagedSecretValue(secretID, versionID string) (string, error)
	SetManagedSecretValue(secretID, value string) (*nodev1.ManagedSecretVersion, error)
	DeleteManagedSecret(secretID string) error
}

Jump to

Keyboard shortcuts

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