secrets

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(ctx *cmd.Context, runF func(*CreateOpts) error) *cmd.Command

func NewCmdDelete

func NewCmdDelete(ctx *cmd.Context, runF func(*DeleteOpts) error) *cmd.Command

func NewCmdList

func NewCmdList(ctx *cmd.Context, runF func(*ListOpts) error) *cmd.Command

func NewCmdOpen

func NewCmdOpen(ctx *cmd.Context, runF func(*OpenOpts) error) *cmd.Command

func NewCmdRead

func NewCmdRead(ctx *cmd.Context, runF func(*ReadOpts) error) *cmd.Command

func NewCmdRotate added in v0.6.0

func NewCmdRotate(ctx *cmd.Context, runF func(*RotateOpts) error) *cmd.Command

func NewCmdSecrets

func NewCmdSecrets(ctx *cmd.Context) *cmd.Command

func NewCmdUpdate added in v0.6.0

func NewCmdUpdate(ctx *cmd.Context, runF func(*UpdateOpts) error) *cmd.Command

Types

type CreateOpts

type CreateOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	IO      iostreams.IOStreams
	Output  *format.Outputter

	AppName              string
	SecretName           string
	SecretValuePlaintext string
	SecretFilePath       string
	Type                 string
	Client               secret_service.ClientService
}

type DeleteOpts

type DeleteOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	IO      iostreams.IOStreams
	Output  *format.Outputter

	AppName    string
	SecretName string
	Client     secret_service.ClientService
}

type ListOpts

type ListOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	IO      iostreams.IOStreams
	Output  *format.Outputter

	AppName string
	Client  secret_service.ClientService
}

type OpenOpts

type OpenOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	IO      iostreams.IOStreams
	Output  *format.Outputter

	AppName        string
	SecretName     string
	OutputFilePath string
	Client         secret_service.ClientService
}

type ReadOpts

type ReadOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	IO      iostreams.IOStreams
	Output  *format.Outputter

	AppName    string
	SecretName string
	Client     secret_service.ClientService
}

type RotateOpts added in v0.6.0

type RotateOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	Output  *format.Outputter
	IO      iostreams.IOStreams

	AppName    string
	SecretName string
	Client     secret_service.ClientService
}

type SecretConfig added in v0.6.0

type SecretConfig struct {
	Type    integrations.IntegrationType `hcl:"type"`
	Details cty.Value                    `hcl:"details"`
}

type SecretUpdateConfig added in v0.6.0

type SecretUpdateConfig struct {
	Type    integrations.IntegrationType `hcl:"type"`
	Details cty.Value                    `hcl:"details"`
}

type UpdateOpts added in v0.6.0

type UpdateOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	IO      iostreams.IOStreams
	Output  *format.Outputter

	AppName              string
	SecretName           string
	SecretValuePlaintext string
	SecretFilePath       string
	Type                 string
	Client               secret_service.ClientService
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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