amazon web services - AWS Workload Identity - Stack Overflow
I am new to AWS and mostly work in GCP. I want to set up an external service to access AWS accounts and resources within them. GCP has Workload Identity and allows me to configure an external service to be mapped to a service account and bind roles to it. Does AWS offer something similar?
I am new to AWS and mostly work in GCP. I want to set up an external service to access AWS accounts and resources within them. GCP has Workload Identity and allows me to configure an external service to be mapped to a service account and bind roles to it. Does AWS offer something similar?
Share Improve this question edited yesterday Puteri 3,7794 gold badges15 silver badges35 bronze badges asked yesterday QThompsonQThompson 1,6983 gold badges21 silver badges47 bronze badges 1- 1 Are you referring to Workload Identity Federation | IAM Documentation | Google Cloud? It seems to match Identity providers and federation - AWS Identity and Access Management, which provides SSO. – John Rotenstein Commented yesterday
1 Answer
Reset to default 0Yes, AWS offers a similar mechanism to what GCP provides with Workload Identity for external service access. In AWS, you can achieve this by using IAM Roles with Web Identity Federation or IAM Roles Anywhere.
This approach allows you to grant external services or identities access to AWS resources by associating them with IAM roles.
Create an IAM Role with a trust policy that specifies the external identity provider (IdP) using OpenID Connect (OIDC).
Configure the external service (e.g., a workload in another cloud provider) to use the OIDC credentials to assume the IAM Role.
The role defines the permissions the external service has within AWS.
Steps:
- Set up an OIDC identity provider in AWS IAM.
- Create an IAM Role with a trust policy for the OIDC provider.
- Attach the required AWS policies to the role.
- Configure the external service to authenticate using the OIDC provider and assume the role.
- Win10、安卓手机实现打通:拖拽即可互传文件
- 死忠安卓粉看iPhone 6S:根本没创新!
- 安卓手机丢了 PC上“谷歌”一下就能找到
- Why has VS Code stopped discovering my python tests? - Stack Overflow
- apache spark - Can't save pyspark ML model :py4j.protocol.Py4JJavaError: An error occurred while calling o577.save. : ja
- javascript - TypeError with firebase authentication - Stack Overflow
- Swift - Calendar Ignores Locale - Stack Overflow
- c# - Is there a way to fill scriptable object field with a child class? - Stack Overflow
- google colaboratory - Load a Kaggle dataset into Colab notebook without extracting it - Stack Overflow
- react native - Top SafeArea on iOS cannot be ignored - Stack Overflow
- c# - IdentityServer4 and returning an error in response - Stack Overflow
- javascript - How to secure a Nextjs API call with supabase service key? - Stack Overflow
- reactjs - NextAuth cookie not being sent when I use the development server, but being sent when I use HoppscotchBrowser to send
- sublimetext3 - Sublime Text 34: copypaste all text excluding comments - Stack Overflow
- python - mecab-python3 AWS lambda "circular import" error - Stack Overflow
- Angular mfe with @module-federationenhanced having issue to use ngx-translate with remote apps - Stack Overflow
- python - Convert numpy float to string - Stack Overflow