-
Notifications
You must be signed in to change notification settings - Fork 0
Key Rotation
mvgijssel edited this page Dec 27, 2023
·
11 revisions
-
Login to provisioner
bazel run //:tsh -- login --user teleport-admin bazel run //:tsh -- ssh ubuntu@provisioner
-
Generate Teleport identity for buildbuddy for 180 days using:
sudo tctl auth sign -o identity --user buildbuddy --format file --ttl 4320h
-
Copy the contents into
op://vgijssel-dev/teleport_buildbuddy_identity
andop://vgijssel-prod/teleport_buildbuddy_identity
- vgijssel-dev / vgijssel-prod service account token 1Password
-
Remove the
identity
filesudo rm identity
- PULUMI_ACCESS_TOKEN GitHub actions for Pulumi
- BUILDBUDDY_ORG_API_KEY for Provisioner environment for BuildBuddy stored as
GitHub Actions - Provisioner Environment
- Run
bazel run //tools/bunq2ynab:generate_oauth_token
to start generating a new token - Open the QR code with the Bunq app
- In the Bunq app select all the accounts that are accessible by the token
- Accept the connection
- Copy the token from the browser and paste it into
"op://vgijssel-prod/bunq_api_token/credential"
- Run
bazel run
bazel run //tools/bunq2ynab:list_user-prod` and validate the token works