Created
February 17, 2020 09:02
-
-
Save alexei-led/1790d9e61c63123937d01c8146c1a67d to your computer and use it in GitHub Desktop.
Markdium-Securely Access AWS from GKE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create GCP Service Account | |
gcloud iam service-accounts create ${GSA_NAME} | |
# get GCP SA UID to be used for AWS Role with Google OIDC Web Identity | |
GSA_ID=$(gcloud iam service-accounts describe --format json ${GSA_NAME}@${PROJECT_ID}.iam.gserviceaccount.com | jq -r '.uniqueId') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment