Skip to content

feat(ci): add composite action to log in to Keystone with JWT#816

Open
ShJ-code wants to merge 2 commits into
openstack-experimental:mainfrom
ShJ-code:feature-228-jwt-login-action
Open

feat(ci): add composite action to log in to Keystone with JWT#816
ShJ-code wants to merge 2 commits into
openstack-experimental:mainfrom
ShJ-code:feature-228-jwt-login-action

Conversation

@ShJ-code

Copy link
Copy Markdown

Add a reusable .github/actions/login_jwt composite action that requests a GitHub Actions OIDC token (or accepts a pre-fetched JWT) and exchanges it for a Keystone token via POST /v4/federation/identity_providers/{idp_id}/jwt, masking the secrets and exposing the result as the token output.

Wire a self-test into the federation-github job that registers a JWT IdP and mapping and asserts the action returns a token, and replace the manual-curl TODO in doc/src/federation/jwt.md with the action's usage.

Closes #228

ShJ-code added 2 commits June 19, 2026 00:52
Add a reusable `.github/actions/login_jwt` composite action that requests a
GitHub Actions OIDC token (or accepts a pre-fetched JWT) and exchanges it for a
Keystone token via POST /v4/federation/identity_providers/{idp_id}/jwt, masking
the secrets and exposing the result as the `token` output.

Wire a self-test into the federation-github job that registers a JWT IdP and
mapping and asserts the action returns a token, and replace the manual-curl
TODO in doc/src/federation/jwt.md with the action's usage.

Closes openstack-experimental#228
@gtema

gtema commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

I updated the issue description with some details

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.

Create GitHub action to login with jwt

2 participants