Documentation ¶
Index ¶
- type CredentialsFetcher
- type CredentialsManager
- func (cm *CredentialsManager) GetDataStore(ctx context.Context, secretsName string) (*DataStore, error)
- func (cm *CredentialsManager) UsingSDKV1(sm SMAPIV1) *CredentialsManager
- func (cm *CredentialsManager) UsingSDKV1Session(sess *sessV1.Session) *CredentialsManager
- func (cm *CredentialsManager) UsingSDKV2(sm SMAPIV2) *CredentialsManager
- func (cm *CredentialsManager) UsingSDKV2Config(cfg awsV2.Config) *CredentialsManager
- type DataStore
- type SMAPIV1
- type SMAPIV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialsFetcher ¶ added in v2.16.0
type CredentialsManager ¶
type CredentialsManager struct {
// contains filtered or unexported fields
}
func New ¶
func New() *CredentialsManager
func (*CredentialsManager) GetDataStore ¶
func (*CredentialsManager) UsingSDKV1 ¶
func (cm *CredentialsManager) UsingSDKV1(sm SMAPIV1) *CredentialsManager
func (*CredentialsManager) UsingSDKV1Session ¶
func (cm *CredentialsManager) UsingSDKV1Session(sess *sessV1.Session) *CredentialsManager
func (*CredentialsManager) UsingSDKV2 ¶
func (cm *CredentialsManager) UsingSDKV2(sm SMAPIV2) *CredentialsManager
func (*CredentialsManager) UsingSDKV2Config ¶
func (cm *CredentialsManager) UsingSDKV2Config(cfg awsV2.Config) *CredentialsManager
type SMAPIV1 ¶
type SMAPIV1 interface {
GetSecretValue(input *smV1.GetSecretValueInput) (*smV1.GetSecretValueOutput, error)
}
type SMAPIV2 ¶
type SMAPIV2 interface {
GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
}
Click to show internal directories.
Click to hide internal directories.