Documentation
¶
Index ¶
- Constants
- type SecretStore
- func (s *SecretStore) AWSCredential(roleArn string) (*types.AWSCredentials, error)
- func (s *SecretStore) Clear(ctx context.Context) error
- func (s *SecretStore) Load(ctx context.Context) error
- func (s *SecretStore) Save(ctx context.Context, roleArn string, cred string) error
- func (s *SecretStore) SaveAWSCredential(ctx context.Context, roleArn string, cred *types.AWSCredentials) error
Constants ¶
View Source
const DEFAULT_LOCK_TIMEOUT = 3 * time.Minute
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretStore ¶
type SecretStore struct {
AWSCredentials map[string]string `json:"credentials"`
// contains filtered or unexported fields
}
func NewSecretStore ¶
func NewSecretStore(ctx context.Context, lockDir string) (*SecretStore, error)
func (*SecretStore) AWSCredential ¶
func (s *SecretStore) AWSCredential(roleArn string) (*types.AWSCredentials, error)
func (*SecretStore) SaveAWSCredential ¶
func (s *SecretStore) SaveAWSCredential(ctx context.Context, roleArn string, cred *types.AWSCredentials) error
Click to show internal directories.
Click to hide internal directories.