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 990ea3a
Browse filesBrowse the repository at this point in the historyBrowse files
// Clearing the Impersonated Account helps only where keyless works without it.
948
+
if(input.impersonateEmail&&delegable){
945
949
throwunsupportedUse(
946
950
'google_keyless_delegation',
947
951
'this keyless Google credential has no domain-wide delegation for this service',
948
952
'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'
'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'
957
+
'google_keyless_delegation_unavailable',
958
+
'keyless Google credentials cannot act as a Workspace user for this service',
959
+
'A keyless Google credential cannot act as a Workspace user for this service. Clear the Impersonated Account, or use a JSON key credential instead'
956
960
)
957
961
}
962
+
if(!cloudService){
963
+
throwdelegable
964
+
? unsupportedUse(
965
+
'google_keyless_service',
966
+
'this keyless Google credential works only with Google Cloud APIs and the Workspace services it was delegated',
967
+
'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'
968
+
)
969
+
: unsupportedUse(
970
+
'google_keyless_service_unsupported',
971
+
'keyless Google credentials cannot serve this service',
972
+
'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