|
|
@@ -542,12 +542,6 @@ func (aws *AWS) UpdateConfig(r io.Reader, updateType string) (*models.CustomPric
|
|
|
return err
|
|
|
}
|
|
|
|
|
|
- // If the sample nil service key name is set, zero it out so that it is not
|
|
|
- // misinterpreted as a real service key.
|
|
|
- if asfi.ServiceKeyName == "AKIXXX" {
|
|
|
- asfi.ServiceKeyName = ""
|
|
|
- }
|
|
|
-
|
|
|
c.ServiceKeyName = asfi.ServiceKeyName
|
|
|
if asfi.ServiceKeySecret != "" {
|
|
|
c.ServiceKeySecret = asfi.ServiceKeySecret
|
|
|
@@ -566,12 +560,6 @@ func (aws *AWS) UpdateConfig(r io.Reader, updateType string) (*models.CustomPric
|
|
|
return err
|
|
|
}
|
|
|
|
|
|
- // If the sample nil service key name is set, zero it out so that it is not
|
|
|
- // misinterpreted as a real service key.
|
|
|
- if aai.ServiceKeyName == "AKIXXX" {
|
|
|
- aai.ServiceKeyName = ""
|
|
|
- }
|
|
|
-
|
|
|
c.AthenaBucketName = aai.AthenaBucketName
|
|
|
c.AthenaRegion = aai.AthenaRegion
|
|
|
c.AthenaDatabase = aai.AthenaDatabase
|
|
|
@@ -1715,12 +1703,6 @@ func (aws *AWS) loadAWSAuthSecret(force bool) (*AWSAccessKey, error) {
|
|
|
return nil, err
|
|
|
}
|
|
|
|
|
|
- // If the sample nil service key name is set, zero it out so that it is not
|
|
|
- // misinterpreted as a real service key.
|
|
|
- if ak.AccessKeyID == "AKIXXX" {
|
|
|
- ak.AccessKeyID = ""
|
|
|
- }
|
|
|
-
|
|
|
awsSecret = &ak
|
|
|
return awsSecret, nil
|
|
|
}
|