Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use CRT credential, hardcoded
  • Loading branch information
xiazhvera committed Jun 12, 2025
commit c9fc18bcfa9ae654ac85c96cd9ceac12b54d9296
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
RUN: ${{ github.run_id }}-${{ github.run_number }}
AWS_DEFAULT_REGION: us-east-1
SDK_V1_CI_ROLE: ${{ secrets.CI_SDK_V1_ROLE_ARN }}
CRT_CI_Role: arn:aws:iam::123124136734:role/CRT_CI_Role
CRT_CI_ROLE: arn:aws:iam::123124136734:role/CRT_CI_Role

permissions:
id-token: write # This is required for requesting the JWT
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
id: creds
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ env.CRT_CI_Role }}
role-to-assume: ${{ env.CRT_CI_ROLE }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
output-credentials: true
- name: Build ${{ env.PACKAGE_NAME }} + consumers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

public class AWSIotMqttClientIntegrationUtil {

private static final String CLIENT_ENDPOINT = "ajje7lpljulm4-ats.iot.us-east-1.amazonaws.com";
private static final String CLIENT_ENDPOINT = "a16523t7iy5uyg-ats.iot.us-east-1.amazonaws.com";
private static final String CLIENT_ID = UUID.randomUUID().toString();

private static final String AUTH_MODE = System.getProperty("authMode");

private static final Boolean IS_WEBSOCKET = Boolean.parseBoolean(System.getProperty("isWebSocket"));
private static final String PUBLIC_MATERIAL = "arn:aws:secretsmanager:us-east-1:123124136734:secret:V1IotSdkIntegrationTestCertificate-vTRwjE";
private static final String PRIVATE_MATERIAL = "arn:aws:secretsmanager:us-east-1:123124136734:secret:V1IotSdkIntegrationTestPrivateKey-vNUQU8";
private static final String PUBLIC_MATERIAL = "arn:aws:secretsmanager:us-east-1:123124136734:secret:unit-test/certificate-iZBV7L";
private static final String PRIVATE_MATERIAL = "arn:aws:secretsmanager:us-east-1:123124136734:secret:unit-test/privatekey-p8-d3pMKx";
private static final String KEYSTORE_FILE = System.getProperty("keystoreFile");
private static final String KEYSTORE_PASSWORD = System.getProperty("keystorePassword");
private static final String KEY_PASSWORD = System.getProperty("keyPassword");
Expand Down
Loading