Skip to content

Commit 06850ac

Browse files
committed
fix(credentials): keep keyless refusals intact through AWS and Databricks verification
- AWS and Databricks verification and trust-probe catches rethrow a KeylessCredentialRefusedError unchanged instead of wrapping it, so a keyless reconnect or create that loses signing mid-save still reports WORKLOAD_IDENTITY_NOT_CONFIGURED. - Google's keyless catalog description and hint say keyless works only for Google Cloud services (BigQuery, Vertex AI), not Google Workspace; the docs page says the same. - OpenAPI examples use conspicuous subject and subjectProof placeholders. - Record the keyless subjects route in the Copilot refused-routes inventory, drop a stray create-body field from a use-case test, and update the docs compatibility baseline for the regenerated CLI pages.
1 parent 15b2af7 commit 06850ac

14 files changed

Lines changed: 510 additions & 369 deletions

‎apps/docs/content/docs/integrations/google-service-account.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ Self-hosted deployments need `WORKLOAD_IDENTITY_SIGNING_KEY` set and an `https`
233233

234234
### From the API or CLI [#keyless-api-cli]
235235

236-
Run `sim credentials keyless-subject google-service-account`, trust the printed subject as above, then add `projectNumber`, `poolId`, `providerId`, and `serviceAccountEmail` to its `keylessConfig` and pass it to `sim credentials create google-service-account`. See [the CLI credentials reference](/cli/credentials) for the full two-step example; the proof expires after 24 hours and works only for the user who requested it.
236+
Run `sim credentials keyless-subject google-service-account`, trust the printed subject as above, then add `projectNumber`, `poolId`, `providerId`, and `serviceAccountEmail` to its `keylessConfig` and pass it to `sim credentials create google-service-account`. See [the CLI credentials reference](/cli/credentials) for the full two-step example; the proof expires after 24 hours and works only for the user who requested it. As in the dialog, keyless works only for Google Cloud services such as BigQuery and Vertex AI, not Google Workspace blocks.
237237

238238
### Troubleshooting keyless access
239239

‎apps/docs/openapi-v2-resources.json‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3862,7 +3862,7 @@
38623862
"type": "service_account",
38633863
"providerId": "aws-service-account",
38643864
"displayName": "AWS production (keyless)",
3865-
"credentials": "{\"serviceAccountJson\":\"{\\\"authType\\\":\\\"oidc_role\\\",\\\"roleArn\\\":\\\"arn:aws:iam::123456789012:role/SimWorkflows\\\",\\\"subject\\\":\\\"sim:workspace:a91c4b2e-6d3f-4e8a-b5c7-0d9e2f1a8c64:credential:3f2a9c4e8b1d47f6a0c5e2d9b7f1a3c8\\\",\\\"subjectProof\\\":\\\"1781965031000.Zm9yIGlsbHVzdHJhdGlvbiBvbmx5IC0gbm90IGEgcmVhbCBwcm9vZg\\\"}\"}"
3865+
"credentials": "{\"serviceAccountJson\":\"{\\\"authType\\\":\\\"oidc_role\\\",\\\"roleArn\\\":\\\"arn:aws:iam::123456789012:role/SimWorkflows\\\",\\\"subject\\\":\\\"sim:workspace:<workspaceId>:credential:<subjectId>\\\",\\\"subjectProof\\\":\\\"<subjectProof from Create workload identity subject>\\\"}\"}"
38663866
}
38673867
}
38683868
}
@@ -4324,13 +4324,13 @@
43244324
"data": {
43254325
"issuer": "https://www.sim.ai/oidc/workload",
43264326
"audience": "sts.amazonaws.com",
4327-
"subject": "sim:workspace:a91c4b2e-6d3f-4e8a-b5c7-0d9e2f1a8c64:credential:3f2a9c4e8b1d47f6a0c5e2d9b7f1a3c8",
4328-
"subjectProof": "1781965031000.Zm9yIGlsbHVzdHJhdGlvbiBvbmx5IC0gbm90IGEgcmVhbCBwcm9vZg",
4327+
"subject": "sim:workspace:<workspaceId>:credential:<subjectId>",
4328+
"subjectProof": "<subjectProof from Create workload identity subject>",
43294329
"expiresAt": "2026-06-21T14:17:11.000Z",
43304330
"keylessConfig": {
43314331
"authType": "oidc_role",
4332-
"subject": "sim:workspace:a91c4b2e-6d3f-4e8a-b5c7-0d9e2f1a8c64:credential:3f2a9c4e8b1d47f6a0c5e2d9b7f1a3c8",
4333-
"subjectProof": "1781965031000.Zm9yIGlsbHVzdHJhdGlvbiBvbmx5IC0gbm90IGEgcmVhbCBwcm9vZg"
4332+
"subject": "sim:workspace:<workspaceId>:credential:<subjectId>",
4333+
"subjectProof": "<subjectProof from Create workload identity subject>"
43344334
},
43354335
"requiredConfigFields": ["roleArn"],
43364336
"optionalConfigFields": ["stsRegion", "sessionDurationSeconds"]
@@ -18507,13 +18507,13 @@
1850718507
"data": {
1850818508
"issuer": "https://www.sim.ai/oidc/workload",
1850918509
"audience": "sts.amazonaws.com",
18510-
"subject": "sim:workspace:a91c4b2e-6d3f-4e8a-b5c7-0d9e2f1a8c64:credential:3f2a9c4e8b1d47f6a0c5e2d9b7f1a3c8",
18511-
"subjectProof": "1781965031000.Zm9yIGlsbHVzdHJhdGlvbiBvbmx5IC0gbm90IGEgcmVhbCBwcm9vZg",
18510+
"subject": "sim:workspace:<workspaceId>:credential:<subjectId>",
18511+
"subjectProof": "<subjectProof from Create workload identity subject>",
1851218512
"expiresAt": "2026-06-21T14:17:11.000Z",
1851318513
"keylessConfig": {
1851418514
"authType": "oidc_role",
18515-
"subject": "sim:workspace:a91c4b2e-6d3f-4e8a-b5c7-0d9e2f1a8c64:credential:3f2a9c4e8b1d47f6a0c5e2d9b7f1a3c8",
18516-
"subjectProof": "1781965031000.Zm9yIGlsbHVzdHJhdGlvbiBvbmx5IC0gbm90IGEgcmVhbCBwcm9vZg"
18515+
"subject": "sim:workspace:<workspaceId>:credential:<subjectId>",
18516+
"subjectProof": "<subjectProof from Create workload identity subject>"
1851718517
},
1851818518
"requiredConfigFields": ["roleArn"],
1851918519
"optionalConfigFields": ["stsRegion", "sessionDurationSeconds"]

0 commit comments

Comments
 (0)