passphrase

package
v3.116.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Overview

Package passphrase implements support for a local passphrase secret manager.

Index

Constants

View Source
const Type = "passphrase"

Variables

View Source
var ErrIncorrectPassphrase = errors.New("incorrect passphrase")

Functions

func EditProjectStack added in v3.94.0

func EditProjectStack(info *workspace.ProjectStack, state json.RawMessage) error

func GetPassphraseSecretsManager added in v3.80.0

func GetPassphraseSecretsManager(phrase string, state string) (secrets.Manager, error)

func NewPassphraseSecretsManager added in v3.51.0

func NewPassphraseSecretsManager(phrase string) (string, secrets.Manager, error)

func NewPromptingPassphraseSecretsManager added in v3.25.0

func NewPromptingPassphraseSecretsManager(info *workspace.ProjectStack,
	rotateSecretsProvider bool,
) (secrets.Manager, error)

func NewPromptingPassphraseSecretsManagerFromState added in v3.51.0

func NewPromptingPassphraseSecretsManagerFromState(state json.RawMessage) (secrets.Manager, error)

NewPassphraseSecretsManager returns a new passphrase-based secrets manager, from the given state. Will use the passphrase found in PULUMI_CONFIG_PASSPHRASE, the file specified by PULUMI_CONFIG_PASSPHRASE_FILE, or otherwise will prompt for the passphrase if interactive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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