Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support Workload Identity auth via 1Password SDK (private beta)#169

Merged
JillRegan merged 8 commits into
betafrom
feature/workload-identity
Jun 17, 2026
Merged

Support Workload Identity auth via 1Password SDK (private beta)#169
JillRegan merged 8 commits into
betafrom
feature/workload-identity

Conversation

@JillRegan

@JillRegan JillRegan commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Adds a new way to authenticate the action with Workload Identity. Instead of storing a Service Account token or Connect credentials, the action exchanges the GitHub Actions OIDC token for short-lived 1Password access.

To use it, set three environment variables on the step:

  • OP_WORKLOAD_ID
  • OP_ENVIRONMENT_ID
  • OP_INTEGRATION_KEY

When all three are set, the action loads every variable from the configured 1Password environment. If none are set, it falls back to the existing Service Account / Connect flow.

Changes

  • New auth path via the @1password/sdk package (src/sdk-client.ts).
  • Validation for the new config: errors clearly if only some of the three vars are set, or if Workload Identity is mixed with another auth method.
  • Unset env: a cleanup step (unset-previous) works without credentials, so Workload Identity users can remove secrets in a later step.
  • Tests for the new config logic and SDK client.
  • E2E job covering the Workload Identity flow.
  • README section documenting the feature (marked private beta).

⚠️ This is a private beta release, hence why this PR targets a beta branch as it will be released from there.

@JillRegan JillRegan changed the title Add workload identy feature Support Workload Identity auth via 1Password SDK (private beta) Jun 16, 2026
@JillRegan JillRegan marked this pull request as ready for review June 17, 2026 12:49
Comment thread src/sdk-client.ts
Co-authored-by: Bert Ramirez <[email protected]>
@JillRegan JillRegan merged commit 4e7ac13 into beta Jun 17, 2026
20 of 21 checks passed
@JillRegan JillRegan deleted the feature/workload-identity branch June 17, 2026 14:40
@JillRegan JillRegan mentioned this pull request Jun 17, 2026
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

Successfully merging this pull request may close these issues.

2 participants