Documentation ¶
Index ¶
- func CreateSecret(secretID string, secret any, isDebug bool) (awsSecretID string, err error)
- func DeleteSecret(secretID string, forceWithoutRecovery bool, isDebug bool) error
- func GetS3UploadCredentials(secretID string, isDebug bool) (*credentials2.Credentials, error)
- func GetSecret(secretID string, isDebug bool) (string, string)
- type DatabaseCredentials
- type S3UploadCredentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSecret ¶ added in v1.58.0
CreateSecret Creates a JSON marshaled "string secret" (can be expanded to cater for binary secrets should the need arise)
func DeleteSecret ¶ added in v1.58.0
func GetS3UploadCredentials ¶ added in v1.55.0
func GetS3UploadCredentials(secretID string, isDebug bool) (*credentials2.Credentials, error)
Types ¶
type DatabaseCredentials ¶
type DatabaseCredentials struct { Username string `json:"username"` Password string `json:"password"` Engine string `json:"engine"` Host string `json:"host"` Port int `json:"port"` InstanceIdentifier string `json:"dbInstanceIdentifier"` ReadOnlyHost string `json:"aurora_read_only_host"` }
func GetDatabaseCredentials ¶
func GetDatabaseCredentials(secretID string, isDebug bool) (DatabaseCredentials, error)
type S3UploadCredentials ¶ added in v1.55.0
Click to show internal directories.
Click to hide internal directories.