-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 6.6.3
-
Component/s: Security
-
1
-
Severity 3 - Minor
An admin cannot remove valid EC2 the keys from Bamboo. After EC2 is disabled the credentials cannot be removed from the UI
Work Around
- Disable EC2 from Bamboo UI
- Shutdown Bamboo
- Edit BambooHomeDir/xml-data/configuration/administration.xml and remove
<elasticConfig> <awsAccessKeyId>XXXXXXXXXXXXXX</awsAccessKeyId> <awsSecretKey>XXXXXXXXXXXXXXXXXXXXXXX</awsSecretKey> <maxConcurrentInstances>5</maxConcurrentInstances> <enabled>false</enabled> <autoShutdownEnabled>true</autoShutdownEnabled> <autoShutdownDelay>300</autoShutdownDelay> <uploadingOfAwsAccountDetailsEnabled>false</uploadingOfAwsAccountDetailsEnabled> <awsPrivateKeyFile></awsPrivateKeyFile> <awsCertFile></awsCertFile> <automaticInstanceManagementConfig> <averageTimeInQueueThreshold>300000</averageTimeInQueueThreshold> <elasticBuildsInQueueThreshold>3</elasticBuildsInQueueThreshold> <totalBuildInQueueThreshold>5</totalBuildInQueueThreshold> <maxElasticInstancesToStartAtOnce>2</maxElasticInstancesToStartAtOnce> <instanceIdleTimeThreshold>600000</instanceIdleTimeThreshold> <automaticInstanceManagementEnabled>false</automaticInstanceManagementEnabled> <configurationName>Disabled</configurationName> <maxNonBambooInstances>1</maxNonBambooInstances> </automaticInstanceManagementConfig> <isPublicIpForVpcEnabled>false</isPublicIpForVpcEnabled> <region>US_EAST_2</region> </elasticConfig>
- Start Bamboo
Accepted Solution
Provide a way to remove the EC2 keys from the UI.