Skip to content

feat(auth): add service token authentication method#31

Open
l2D wants to merge 4 commits intoInfisical:mainfrom
l2D:feat/service-token-auth
Open

feat(auth): add service token authentication method#31
l2D wants to merge 4 commits intoInfisical:mainfrom
l2D:feat/service-token-auth

Conversation

@l2D
Copy link

@l2D l2D commented Dec 18, 2025

Summary

Add support for Infisical Service Token authentication, enabling users to authenticate using project-scoped service tokens.

Changes

  • Add service-token authentication method
  • Add service-token input parameter to action.yaml
  • Update documentation with setup instructions and usage examples
  • Update version references to v1.0.15

Usage

- uses: Infisical/secrets-action@v1.0.15
  with:
    method: "service-token"
    service-token: ${{ secrets.INFISICAL_SERVICE_TOKEN }}
    project-slug: "my-project"
    env-slug: "dev"

l2D added 4 commits December 18, 2025 23:16
- add service-token input to action.yaml
- add ServiceToken enum value to AuthMethod
- handle service-token auth in main flow (no login required)
- rebuild dist/index.cjs
- update configuration section with service token method
- add Service Token Auth setup instructions with example
- add service-token input to inputs reference
- update method input description
When project-id is provided, use workspaceId query param instead of
workspaceSlug. This is required for service token auth where the API
may not resolve workspace slugs.
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.

1 participant