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
}
Click to show internal directories.
Click to hide internal directories.