Attach a Cloud IAM Role

Let your application reach cloud services such as buckets and queues by binding AWS or GCP IAM roles to its service account with the iam engine.

The iam dependency engine lets an application assume an AWS or GCP IAM role.
It grants your application access to cloud services such as buckets and queues
by binding IAM roles to its Kubernetes service account. The platform creates
the service account mappings for you.

serviceAccount:
  create: true

dependency:
  iam:
    buckets: "true"
    roles:
      - roles/storage.objectViewer
      - roles/pubsub.publisher
KeyDescription
bucketsEnable bucket access bindings
rolesCloud IAM roles to bind to the application's service account

To provision a standalone IAM service account with custom policies on AWS, see
IAM Service Accounts
instead.

Related articles


Did this page help you?