Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCmd ¶
type CreateCmd struct {
ClusterID string `help:"The ID of the cluster" required:"" name:"cluster-id"`
Key string `help:"The key name for the secret (e.g. MY_SECRET)" required:""`
Value string `help:"The secret value. If not provided, you will be prompted to enter it." optional:""`
Description string `help:"A description of the secret" optional:""`
Policy string `help:"The access policy for the secret (YAML format)" optional:""`
output.OutputFlags
}
type DeleteCmd ¶
type GetCmd ¶
type GetCmd struct {
ClusterID string `help:"The ID of the cluster" required:"" name:"cluster-id"`
SecretID string `help:"The UUID of the secret to view" required:"" name:"secret-id"`
output.OutputFlags
}
type ListCmd ¶
type ListCmd struct {
ClusterID string `help:"The ID of the cluster to list secrets for" required:"" name:"cluster-id"`
output.OutputFlags
}
type UpdateCmd ¶
type UpdateCmd struct {
ClusterID string `help:"The ID of the cluster" required:"" name:"cluster-id"`
SecretID string `help:"The UUID of the secret to update" required:"" name:"secret-id"`
Description string `help:"Update the description of the secret" optional:""`
Policy string `help:"Update the access policy for the secret (YAML format)" optional:""`
UpdateValue bool `help:"Prompt to update the secret value" optional:"" name:"update-value"`
output.OutputFlags
}
Click to show internal directories.
Click to hide internal directories.