secretsmanager

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretsManagerAPI

type SecretsManagerAPI struct {
	// contains filtered or unexported fields
}

SecretsManagerAPI is the implementation for the SecretsManager facade.

func NewSecretManagerAPI

func NewSecretManagerAPI(context facade.Context) (*SecretsManagerAPI, error)

NewSecretManagerAPI creates a SecretsManagerAPI.

func (*SecretsManagerAPI) CreateSecrets

CreateSecrets creates new secrets.

func (*SecretsManagerAPI) GetSecretValues

GetSecretValues returns the secret values for the specified secrets.

func (*SecretsManagerAPI) SecretsRotated

SecretsRotated records when secrets were last rotated.

func (*SecretsManagerAPI) UpdateSecrets

UpdateSecrets updates the specified secrets.

func (*SecretsManagerAPI) WatchSecretsRotationChanges

func (s *SecretsManagerAPI) WatchSecretsRotationChanges(args params.Entities) (params.SecretRotationWatchResults, error)

WatchSecretsRotationChanges sets up a watcher to notify of changes to secret rotation config.

type SecretsRotation

type SecretsRotation interface {
	WatchSecretsRotationChanges(owner string) state.SecretsRotationWatcher
	SecretRotated(url *secrets.URL, when time.Time) error
}

SecretsRotation instances provide secret rotation apis.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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