Documentation ¶
Index ¶
- type Manager
- func (m *Manager) DeleteCreds(ctx context.Context, secretID string) error
- func (m *Manager) ReadAPICreds(ctx context.Context, secretID string, creds *credentials.APICreds) error
- func (m *Manager) ReadOCICreds(ctx context.Context, secretID string, creds *credentials.OCIKeypair) error
- func (m *Manager) SaveAPICreds(ctx context.Context, orgID string, creds *credentials.APICreds) (string, error)
- func (m *Manager) SaveOCICreds(ctx context.Context, orgID string, creds *credentials.OCIKeypair) (string, error)
- type NewManagerOpts
- type SecretsManagerIface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(opts *NewManagerOpts) (*Manager, error)
func (*Manager) DeleteCreds ¶
func (*Manager) ReadAPICreds ¶
func (*Manager) ReadOCICreds ¶
func (m *Manager) ReadOCICreds(ctx context.Context, secretID string, creds *credentials.OCIKeypair) error
func (*Manager) SaveAPICreds ¶
func (*Manager) SaveOCICreds ¶
func (m *Manager) SaveOCICreds(ctx context.Context, orgID string, creds *credentials.OCIKeypair) (string, error)
type NewManagerOpts ¶
type SecretsManagerIface ¶
type SecretsManagerIface interface { GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error) CreateSecret(ctx context.Context, params *secretsmanager.CreateSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.CreateSecretOutput, error) DeleteSecret(ctx context.Context, params *secretsmanager.DeleteSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.DeleteSecretOutput, error) }
Click to show internal directories.
Click to hide internal directories.