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 ...
Click to show internal directories.
Click to hide internal directories.