in aws-core-common/src/main/java/jetbrains/buildServer/clouds/amazon/connector/impl/AwsConnectionCredentials.java [72:89]
public Map<String, String> getProperties() {
Map<String, String> credsProps = new HashMap<>();
if (myAccessKeyId != null) {
credsProps.put(AwsConnectionCredentialsConstants.ACCESS_KEY_ID, myAccessKeyId);
}
if (mySecretAccessKey != null) {
credsProps.put(AwsConnectionCredentialsConstants.SECRET_ACCESS_KEY, mySecretAccessKey);
}
if (mySessionToken != null) {
credsProps.put(AwsConnectionCredentialsConstants.SESSION_TOKEN, mySessionToken);
}
if (myAwsRegion != null) {
credsProps.put(AwsConnectionCredentialsConstants.REGION, myAwsRegion);
}
return credsProps;
}