vault

package module
v0.0.0-...-b05f40b Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	VaultProviderName = "VaultProvider"
)

Variables

This section is empty.

Functions

func NewAWSVaultCredentials

func NewAWSVaultCredentials(cfg VaultProvider) (*creds.Credentials, error)

Types

type VaultProvider

type VaultProvider struct {
	AssumeRoleInput      *stsschema.AssumeRoleInput
	VaultSigner          *hmacsigner.VaultSigner
	GetSessionTokenInput *stsschema.GetSessionTokenInput
	Version              string
	Region               string
	// contains filtered or unexported fields
}

func (*VaultProvider) ExpiresAt

func (s *VaultProvider) ExpiresAt() time.Time

func (*VaultProvider) IsExpired

func (s *VaultProvider) IsExpired() bool

func (*VaultProvider) Retrieve

func (s *VaultProvider) Retrieve() (creds.Value, error)

Directories

Path Synopsis
signer module

Jump to

Keyboard shortcuts

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