@backstage/integration 1.0.0 → 1.0.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @backstage/integration
2
2
 
3
+ ## 1.0.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 3ef123bbf0: Support external ID when assuming roles in S3 integration
8
+
9
+ In order to assume a role created by a 3rd party as external
10
+ ID is needed. This change adds an optional field to the s3
11
+ integration configuration and consumes that in the AwsS3UrlReader.
12
+
3
13
  ## 1.0.0
4
14
 
5
15
  ### Major Changes
package/config.d.ts CHANGED
@@ -225,6 +225,12 @@ export interface Config {
225
225
  * @visibility backend
226
226
  */
227
227
  roleArn?: string;
228
+
229
+ /**
230
+ * External ID to use when assuming role
231
+ * @visibility backend
232
+ */
233
+ externalId?: string;
228
234
  }>;
229
235
  };
230
236
  }
package/dist/index.cjs.js CHANGED
@@ -959,13 +959,15 @@ function readAwsS3IntegrationConfig(config) {
959
959
  const accessKeyId = config.getOptionalString("accessKeyId");
960
960
  const secretAccessKey = config.getOptionalString("secretAccessKey");
961
961
  const roleArn = config.getOptionalString("roleArn");
962
+ const externalId = config.getOptionalString("externalId");
962
963
  return {
963
964
  host,
964
965
  endpoint,
965
966
  s3ForcePathStyle,
966
967
  accessKeyId,
967
968
  secretAccessKey,
968
- roleArn
969
+ roleArn,
970
+ externalId
969
971
  };
970
972
  }
971
973
  function readAwsS3IntegrationConfigs(configs) {