secret

package
v3.67.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 31 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCmd

type CreateCmd struct {
	ClusterUUID string `help:"The UUID of the cluster" required:"" name:"cluster-uuid"`
	Key         string `help:"The key name for the secret (e.g. MY_SECRET)" required:""`
	Value       string `` /* 126-byte string literal not displayed */
	ValueFile   string `` /* 142-byte string literal not displayed */
	Description string `help:"A description of the secret" optional:""`
	Policy      string `help:"The access policy for the secret (YAML format)" optional:""`
	output.OutputFlags
}

func (*CreateCmd) Help

func (c *CreateCmd) Help() string

func (*CreateCmd) Run

func (c *CreateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type DeleteCmd

type DeleteCmd struct {
	ClusterUUID string `help:"The UUID of the cluster" required:"" name:"cluster-uuid"`
	SecretID    string `help:"The UUID of the secret to delete" required:"" name:"secret-id"`
}

func (*DeleteCmd) Help

func (c *DeleteCmd) Help() string

func (*DeleteCmd) Run

func (c *DeleteCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type GetCmd

type GetCmd struct {
	ClusterUUID string `help:"The UUID of the cluster" required:"" name:"cluster-uuid"`
	SecretID    string `help:"The UUID of the secret to view" required:"" name:"secret-id"`
	output.OutputFlags
}

func (*GetCmd) Help

func (c *GetCmd) Help() string

func (*GetCmd) Run

func (c *GetCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type ListCmd

type ListCmd struct {
	ClusterUUID string `help:"The UUID of the cluster to list secrets for" required:"" name:"cluster-uuid"`
	output.OutputFlags
}

func (*ListCmd) Help

func (c *ListCmd) Help() string

func (*ListCmd) Run

func (c *ListCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type MigrateGitHubActionsCmd added in v3.59.0

type MigrateGitHubActionsCmd struct {
	Prepare MigrateGitHubActionsPrepareCmd `cmd:"" help:"Prepare a reviewed GitHub Actions migration workflow."`
	Run     MigrateGitHubActionsRunCmd     `cmd:"" help:"Verify and dispatch a prepared migration workflow."`
}

type MigrateGitHubActionsPrepareCmd added in v3.59.0

type MigrateGitHubActionsPrepareCmd struct {
	Organization string   `help:"Destination Buildkite organization slug."`
	Cluster      string   `help:"Assert the destination cluster UUID."`
	Pipeline     string   `help:"Destination Buildkite pipeline slug."`
	PolicyFile   string   `help:"Buildkite secret access policy YAML file." type:"path"`
	SecretNames  []string `help:"Exact GitHub Actions secret name to migrate (repeatable)." name:"secret"`
	Matches      []string `help:"Glob matching GitHub Actions secret names (repeatable)." name:"match"`
	Output       string   `help:"Write the workflow without replacing an existing file."`
}

func (*MigrateGitHubActionsPrepareCmd) Run added in v3.59.0

func (c *MigrateGitHubActionsPrepareCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type MigrateGitHubActionsRunCmd added in v3.59.0

type MigrateGitHubActionsRunCmd struct {
	Workflow string `help:"Prepared workflow committed to the repository default branch." required:""`
}

func (*MigrateGitHubActionsRunCmd) Run added in v3.59.0

func (c *MigrateGitHubActionsRunCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type UpdateCmd

type UpdateCmd struct {
	ClusterUUID string `help:"The UUID of the cluster" required:"" name:"cluster-uuid"`
	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
}

func (*UpdateCmd) Help

func (c *UpdateCmd) Help() string

func (*UpdateCmd) Run

func (c *UpdateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*UpdateCmd) Validate

func (c *UpdateCmd) Validate() error

Jump to

Keyboard shortcuts

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