File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
src/software/aws/toolkits/jetbrains/core/credentials
tst/software/aws/toolkits/jetbrains/core Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -148,14 +148,11 @@ class DefaultCredentialManager : CredentialManager() {
148
148
149
149
fun AwsCredentials.toEnvironmentVariables (): Map <String , String > {
150
150
val map = mutableMapOf<String , String >()
151
- map[" AWS_ACCESS_KEY" ] = this .accessKeyId()
152
151
map[" AWS_ACCESS_KEY_ID" ] = this .accessKeyId()
153
- map[" AWS_SECRET_KEY" ] = this .secretAccessKey()
154
152
map[" AWS_SECRET_ACCESS_KEY" ] = this .secretAccessKey()
155
153
156
154
if (this is AwsSessionCredentials ) {
157
155
map[" AWS_SESSION_TOKEN" ] = this .sessionToken()
158
- map[" AWS_SECURITY_TOKEN" ] = this .sessionToken()
159
156
}
160
157
161
158
return map
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class ExecutableBackedCacheResourceTest {
78
78
createMockExecutable(" validBinary" )
79
79
80
80
executeCacheResource {
81
- assertThat(this .environment).containsKey(" AWS_ACCESS_KEY " ).containsKey(" AWS_SECRET_KEY " )
81
+ assertThat(this .environment).containsKey(" AWS_ACCESS_KEY_ID " ).containsKey(" AWS_SECRET_ACCESS_KEY " )
82
82
}
83
83
}
84
84
You can’t perform that action at this time.
0 commit comments