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
The options of `iap_curl` are fully compatible with `curl` command.
15
25
16
26
If you want to use [httpstat](https://github.com/b4b4r07/httpstat) instead of `curl`, please specify `IAP_CURL_BIN` environment variable:
@@ -50,6 +60,8 @@ Body discarded
50
60
51
61
You can save the URL of frequently used service together with its Env (`IAP_CLIENT_ID` ...) in a JSON file (see also [#1](https://github.com/b4b4r07/iap_curl/issues/1)). This file is located in `~/.config/iap_curl/config.json`.
52
62
63
+
### Option1: Use Application Default Credential
64
+
53
65
```json
54
66
{
55
67
"services": [
@@ -65,6 +77,23 @@ You can save the URL of frequently used service together with its Env (`IAP_CLIE
65
77
}
66
78
```
67
79
80
+
### Option2: Use [Impersonate Service Account](https://cloud.google.com/iam/docs/impersonating-service-accounts)
0 commit comments