secret_provider

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretProvider

func NewSecretProvider() (sp.SecretProviderInterface, error)

NewSecretProvider initializes new secret provider

Types

type ManagedSecretProvider

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

ManagedSecretProvider ...

func (*ManagedSecretProvider) GetDefaultIAMToken

func (msp *ManagedSecretProvider) GetDefaultIAMToken(freshTokenRequired bool) (string, uint64, error)

GetDefaultIAMToken ...

func (*ManagedSecretProvider) GetIAMToken

func (msp *ManagedSecretProvider) GetIAMToken(secret string, freshTokenRequired bool) (string, uint64, error)

GetIAMToken ...

type UnmanagedSecretProvider

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

UnmanagedSecretProvider ...

func (*UnmanagedSecretProvider) GetDefaultIAMToken

func (usp *UnmanagedSecretProvider) GetDefaultIAMToken(isFreshTokenRequired bool) (string, uint64, error)

GetDefaultIAMToken ...

func (*UnmanagedSecretProvider) GetIAMToken

func (usp *UnmanagedSecretProvider) GetIAMToken(secret string, isFreshTokenRequired bool) (string, uint64, error)

GetIAMToken ...

Jump to

Keyboard shortcuts

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