You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5d659bf
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -942,18 +944,30 @@ export async function resolveGoogleWorkloadIdentityToken(
942
944
}
943
945
}else{
944
946
if(input.impersonateEmail){
945
-
throwunsupportedUse(
946
-
'google_keyless_delegation',
947
-
'this keyless Google credential has no domain-wide delegation for this service',
948
-
'This keyless Google credential has no domain-wide delegation for this service, so it cannot act as a Workspace user. Clear the Impersonated Account, reconnect the credential to delegate this service, or use a JSON key credential instead'
949
-
)
947
+
throwdelegable
948
+
? unsupportedUse(
949
+
'google_keyless_delegation',
950
+
'this keyless Google credential has no domain-wide delegation for this service',
951
+
'This keyless Google credential has no domain-wide delegation for this service, so it cannot act as a Workspace user. Clear the Impersonated Account, reconnect the credential to delegate this service, or use a JSON key credential instead'
952
+
)
953
+
: unsupportedUse(
954
+
'google_keyless_delegation_unavailable',
955
+
'keyless Google credentials cannot act as a Workspace user for this service',
956
+
'A keyless Google credential cannot act as a Workspace user for this service. Clear the Impersonated Account, or use a JSON key credential instead'
'this keyless Google credential works only with Google Cloud APIs and the Workspace services it was delegated',
955
-
'This keyless Google credential works only with Google Cloud tools such as BigQuery and, through domain-wide delegation, with Gmail, Google Drive, Google Docs, Google Sheets, and Google Calendar. Reconnect it to delegate this service, or use a JSON key credential instead'
956
-
)
960
+
throwdelegable
961
+
? unsupportedUse(
962
+
'google_keyless_service',
963
+
'this keyless Google credential works only with Google Cloud APIs and the Workspace services it was delegated',
964
+
'This keyless Google credential works only with Google Cloud tools such as BigQuery and, through domain-wide delegation, with Gmail, Google Drive, Google Docs, Google Sheets, and Google Calendar. Reconnect it to delegate this service, or use a JSON key credential instead'
965
+
)
966
+
: unsupportedUse(
967
+
'google_keyless_service_unsupported',
968
+
'keyless Google credentials cannot serve this service',
969
+
'Keyless Google credentials work only with Google Cloud tools such as BigQuery and, through domain-wide delegation, with Gmail, Google Drive, Google Docs, Google Sheets, and Google Calendar. Use a JSON key credential for this service'
0 commit comments