secrets

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(opts *SecretCreateOptions) error

Create creates a new secret.

func Inspect

func Inspect(id string) (string, error)

Inspect inspects the specified secret.

func List

func List() ([]*types.SecretInfoReport, error)

List returns list of podman secrets.

func Remove

func Remove(id string) error

Remove removes the secret.

Types

type SecretCreateOptions

type SecretCreateOptions struct {
	Name          string
	Replace       bool
	File          string
	Text          string
	Labels        []string
	Driver        string
	DriverOptions []string
}

SecretCreateOptions secret create options.

Jump to

Keyboard shortcuts

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