Skip to content

Commit 4f03595

Browse files
chore: fix permissions and add env vars (#676)
Co-authored-by: Lucas McDonald <[email protected]>
1 parent 959d22e commit 4f03595

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/dafny_interop_test_net.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ on:
1818
required: true
1919
type: string
2020

21+
env:
22+
# Used in examples
23+
AWS_ENCRYPTION_SDK_EXAMPLE_KMS_KEY_ID: arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
24+
AWS_ENCRYPTION_SDK_EXAMPLE_KMS_KEY_ID_2: arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
25+
AWS_ENCRYPTION_SDK_EXAMPLE_KMS_MRK_KEY_ID: arn:aws:kms:us-east-1:658956600833:key/mrk-80bd8ecdcd4342aebd84b7dc9da498a7
26+
AWS_ENCRYPTION_SDK_EXAMPLE_KMS_MRK_KEY_ID_2: arn:aws:kms:eu-west-1:658956600833:key/mrk-80bd8ecdcd4342aebd84b7dc9da498a7
27+
AWS_ENCRYPTION_SDK_EXAMPLE_LIMITED_ROLE_ARN_US_EAST_1: arn:aws:iam::370957321024:role/GitHub-CI-ESDK-Dafny-Role-us-west-2
28+
AWS_ENCRYPTION_SDK_EXAMPLE_LIMITED_ROLE_ARN_EU_WEST_1: arn:aws:iam::370957321024:role/GitHub-CI-ESDK-Dafny-Role-us-west-2
29+
# Used for Test Vectors
30+
VECTORS_URL: https://github.com/awslabs/aws-encryption-sdk-test-vectors/raw/master/vectors/awses-decrypt/python-2.3.0.zip
31+
2132
jobs:
2233
testDotNet:
2334
strategy:
@@ -71,8 +82,8 @@ jobs:
7182
uses: aws-actions/configure-aws-credentials@v4
7283
with:
7384
aws-region: us-west-2
74-
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2
75-
role-session-name: DDBEC-Dafny-Net-Tests
85+
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-us-west-2
86+
role-session-name: NetTests
7687

7788
- name: Compile MPL with Dafny ${{inputs.mpl-dafny}}
7889
shell: bash

.github/workflows/dafny_interop_test_vector_net.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ jobs:
8181
uses: aws-actions/configure-aws-credentials@v4
8282
with:
8383
aws-region: us-west-2
84-
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2
85-
role-session-name: DDBEC-Dafny-Net-Tests
84+
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-Public-ESDK-Dafny-Role-us-west-2
85+
role-session-name: NetTests
8686

8787
- name: Compile MPL with Dafny ${{inputs.mpl-dafny}}
8888
shell: bash

0 commit comments

Comments
 (0)