mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-03-12 18:07:10 -04:00
chore: redact s3 contents
This commit is contained in:
committed by
kellertk
parent
d89333df1f
commit
2e3dfc44a9
6
.github/workflows/tests-integ-release.yml
vendored
6
.github/workflows/tests-integ-release.yml
vendored
@@ -115,15 +115,13 @@ jobs:
|
|||||||
|
|
||||||
#NOTE: This step should succeed. The role should have permission only to list all buckets.
|
#NOTE: This step should succeed. The role should have permission only to list all buckets.
|
||||||
- name: list buckets
|
- name: list buckets
|
||||||
run: |
|
run: aws s3 ls > /dev/null
|
||||||
aws s3 ls
|
|
||||||
|
|
||||||
#NOTE: This step should fail. we don't want the role to have permission to see the bucket contents.
|
#NOTE: This step should fail. we don't want the role to have permission to see the bucket contents.
|
||||||
- name: try to list bucket contents
|
- name: try to list bucket contents
|
||||||
id: bucketContentsStep
|
id: bucketContentsStep
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: aws s3 ls s3://cawsc-integ-tests-bucket > /dev/null
|
||||||
aws s3 ls s3://cawsc-integ-tests-bucket
|
|
||||||
|
|
||||||
#But the test fails if we could list the bucket contents.
|
#But the test fails if we could list the bucket contents.
|
||||||
- name: fail if we can list bucket contents
|
- name: fail if we can list bucket contents
|
||||||
|
|||||||
Reference in New Issue
Block a user