Workload identity is currently available for selected teams. If it’s not enabled for your team, sandbox creation with the
iam option fails with Sandbox IAM workload tokens are not available for your team. — contact us to get access.Configure
Pass theiam option when creating a sandbox. A non-empty tokens map enables workload identity for the sandbox.
Each entry maps a token name you choose to a token definition, which you can create with the Secret helper.
Secret helper — { audience, tokenType } objects in JavaScript, {"audience": ..., "token_type": ...} dicts in Python.
Token definitions
Each token definition has two fields:
Token names (the keys of the
tokens map) are yours to choose and must not be empty. A sandbox can define up to 5 workload tokens.
Creating a sandbox without the iam option, or with an empty tokens map, leaves workload identity disabled.