Skip to content

Commit

Permalink
Support newline-separated inputs for delegates and access_token_scopes (
Browse files Browse the repository at this point in the history
#381)

Fixes #380
  • Loading branch information
sethvargo authored Jan 8, 2024
1 parent fb74905 commit a57dd04
Show file tree
Hide file tree
Showing 6 changed files with 235 additions and 573 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ default, this action does not generate any tokens.
https://www.googleapis.com/auth/cloud-platform
```

This can be specified as a comma-separated or newline-separated list.

- `access_token_subject`: (Optional) Email address of a user to impersonate
for [Domain-Wide Delegation][dwd]. Access tokens created for Domain-Wide
Delegation cannot have a lifetime beyond 1 hour, even if the
Expand Down Expand Up @@ -277,7 +279,8 @@ regardless of the authentication mechanism.

- `delegates`: (Optional) List of additional service account emails or unique
identities to use for impersonation in the chain. By default there are no
delegates.
delegates. This can be specified as a comma-separated or newline-separated
list.

- `universe`: (Optional) The Google Cloud universe to use for constructing API
endpoints. The default universe is "googleapis.com", which corresponds to
Expand Down
6 changes: 3 additions & 3 deletions dist/main/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/post/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit a57dd04

Please sign in to comment.