Skip to content

Commit

Permalink
Remove unused RDS code (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbologa authored Dec 7, 2022
1 parent 234634c commit f4e727b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions fleetshard/pkg/central/cloudprovider/awsclient/rds.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@ type RDS struct {
rdsClient *rds.RDS
}

// AWSCredentials stores the credentials for the AWS RDS API.
type AWSCredentials struct {
// AccessKeyID is the AWS access key identifier.
AccessKeyID string
// SecretAccessKey is the AWS secret access key.
SecretAccessKey string
// SessionToken is a token required for temporary security credentials retrieved via STS.
SessionToken string
}

// EnsureDBProvisioned is a blocking function that makes sure that an RDS database was provisioned for a Central
func (r *RDS) EnsureDBProvisioned(ctx context.Context, databaseID, masterPassword string) (string, error) {
clusterID := getClusterID(databaseID)
Expand Down

0 comments on commit f4e727b

Please sign in to comment.