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 string `help:"Output format. One of: json, yaml, text" short:"o" default:"${output_default_format}" enum:",json,yaml,text"`
}
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 string `help:"Output format. One of: json, yaml, text" short:"o" default:"${output_default_format}" enum:",json,yaml,text"`
}
type ListCmd ¶
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 string `help:"Output format. One of: json, yaml, text" short:"o" default:"${output_default_format}" enum:",json,yaml,text"`
}
Click to show internal directories.
Click to hide internal directories.