- Google Cloud: a Google service account bound to the service through Workload Identity.
- AWS: an IAM role that only this service’s pods can take, through EKS Pod Identity.
Set it up
1
Open the service's Security tab
Open the service and select Security.
2
Create the identity
Click Enable Workload Identity on Google Cloud, or Set up an AWS role on AWS. Inframan reserves the identity and shows the commands that create it.
3
Run the commands
Run them in Cloud Shell or AWS CloudShell. They create the service account or role and limit it to this one service:
- On Google Cloud, only this service’s Kubernetes service account can act as the Google service account.
- On AWS, the role’s trust admits only this cluster, this namespace and this service’s Kubernetes service account.
4
Verify
Click Verify. Inframan checks the binding and attaches the identity to the service’s pods. It takes a few seconds.
5
Grant permissions
The new identity starts with no permissions. Grant it what the service needs, in your cloud:
- Google Cloud: assign IAM roles to the service account.
- AWS: attach a policy to the role.
INFRAMAN_SERVICE_ACCOUNT.
Inframan never grants permissions to a service’s identity. You decide exactly what each service may do, and it stays visible in your cloud’s IAM console. The one exception is the Storage add-on, whose bucket grants are also commands you run yourself.