@@ -284,7 +284,7 @@ Entry 15 =
284
284
Entry Method = 'get'
285
285
Entry Route = '/aws/s3/<level>/<bucket>/<prefix>'
286
286
Entry Args = '[level bucket prefix]'
287
- Entry Query = '[]'
287
+ Entry Query = '[format ]'
288
288
Entry Name = 'awsS3Credentials'
289
289
Entry Stability = 'stable'
290
290
Entry Scopes = '[[auth:aws-s3:<level>:<bucket>/<prefix>]]'
@@ -348,7 +348,14 @@ Finally, note that the `PutObjectAcl` call is not allowed. Passing a canned
348
348
ACL other than `private` to `PutObject` is treated as a `PutObjectAcl` call, and
349
349
will result in an access-denied error from AWS. This limitation is due to a
350
350
security flaw in Amazon S3 which might otherwise allow indefinite access to
351
- uploaded objects.'
351
+ uploaded objects.
352
+
353
+ **EC2 metadata compatibility**, if the querystring parameter
354
+ `?format=iam-role-compat` is given, the response will be compatible
355
+ with the JSON exposed by the EC2 metadata service. This aims to ease
356
+ compatibility for libraries and tools built to auto-refresh credentials.
357
+ For details on the format returned by EC2 metadata service see:
358
+ [EC2 User Guide](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#instance-metadata-security-credentials).'
352
359
Entry 16 =
353
360
Entry Type = 'function'
354
361
Entry Method = 'get'
@@ -6407,7 +6414,14 @@ authorization is not necessary to fetch the artifact.
6407
6414
**API Clients**, this method will redirect you to the artifact, if it is
6408
6415
stored externally. Either way, the response may not be JSON. So API
6409
6416
client users might want to generate a signed URL for this end-point and
6410
- use that URL with a normal HTTP client.'
6417
+ use that URL with a normal HTTP client.
6418
+
6419
+ **Caching**, artifacts may be cached in data centers closer to the
6420
+ workers in-order to reduce bandwidth costs. This can lead to longer
6421
+ response times. Caching can be skipped by setting the header
6422
+ `x-taskcluster-skip-cache: true`, this should only be used for resources
6423
+ where request volume is known to be low, and caching not useful.
6424
+ (This feature may be disabled in the future, use is sparingly!)'
6411
6425
Entry 18 =
6412
6426
Entry Type = 'function'
6413
6427
Entry Method = 'get'
0 commit comments