Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "executable" credential source #523

Closed
bshaffer opened this issue Jan 11, 2024 · 1 comment
Closed

Add support for "executable" credential source #523

bshaffer opened this issue Jan 11, 2024 · 1 comment

Comments

@bshaffer
Copy link
Contributor

See the NodeJs implementation for reference.

Support the "executable" credential source for external account credentials. For example:

{
  "type": "external_account", 
  "audience": "//iam.googleapis.com/locations/global/workforcePools/$WF_POOL_ID/providers/$PROVIDER_ID",
  "subject_token_type": "urn:ietf:params:oauth:token-type:jwt",
  "token_url": "https://sts.googleapis.com/v1/token",
  "token_info_url": "https://sts.googleapis.com/v1alpha/token_info", 
  "credential_source": {
    "executable": {
      "command": "/path/to/get/credentials.sh --arg1=value1 --arg2=value2",
      "timeout_millis": 1500,
      "interactive_timeout_millis": 30000,
      "output_file": "/path/to/generated/cached/credentials/"
    }
  }
}
@bshaffer
Copy link
Contributor Author

bshaffer commented Jul 3, 2024

This was added in #525

@bshaffer bshaffer closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant