Skip to content
Open

Main #385

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1141ed7
MR v.0001
Mahadevaprasad1998 Oct 8, 2025
17f5c63
Merge branch 'master' of https://github.com/Mahadevaprasad1998/kratos…
Mahadevaprasad1998 Oct 8, 2025
bd4eb6e
Upto othkeeper Rules
Mahadevaprasad1998 Oct 13, 2025
aa40029
Add admin JWT middleware and secure /admin/identities route
Mahadevaprasad1998 Oct 14, 2025
782abf0
Added requireAdmin.audit middleware and tenant onboarding API with Kr…
Mahadevaprasad1998 Oct 14, 2025
c1c6b69
Added requireAdmin.audit middleware and tenant onboarding API with Ke…
Mahadevaprasad1998 Oct 15, 2025
c0332d1
Completed Tenant Features
Mahadevaprasad1998 Oct 21, 2025
16cfe47
Testing the roles.check roles.revoke roles.rollback tenant.onboard
Mahadevaprasad1998 Oct 21, 2025
874a704
Multi-Tenant Identity Onboarding with Trait Merging and Role Granting
Mahadevaprasad1998 Oct 24, 2025
de0f929
add and verify createTenantRow onboarding function
Mahadevaprasad1998 Oct 28, 2025
0156d2e
wire createTenantRow into /admin/onboard API route
Mahadevaprasad1998 Oct 28, 2025
55aa901
Tenant Onboarding with Kratos Identity Integration
Mahadevaprasad1998 Oct 29, 2025
ff028c2
Vault + AuthZ Integration Progress
Mahadevaprasad1998 Oct 30, 2025
b175f88
Authorization Flow Is Working
Mahadevaprasad1998 Oct 30, 2025
edde416
Add Vault OIDC auth workflow
Mahadevaprasad1998 Nov 4, 2025
380767a
Vault CSI integration complete: Kratos/Keto admin tokens injected
Mahadevaprasad1998 Nov 6, 2025
3d2f17a
Fix Kratos deployment: merged config and schema, resolved mount confl…
Mahadevaprasad1998 Nov 12, 2025
bdd4c3b
failure
Mahadevaprasad1998 Nov 17, 2025
d247be4
failure
Mahadevaprasad1998 Nov 17, 2025
030101e
failure
Mahadevaprasad1998 Nov 17, 2025
0b2d8b4
error
Mahadevaprasad1998 Dec 10, 2025
f37747e
error
Mahadevaprasad1998 Dec 10, 2025
74e744e
error
Mahadevaprasad1998 Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .github/workflows/vault-auth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Vault OIDC Auth Test

on:
push:
branches:
- main

permissions:
id-token: write
contents: read

jobs:
vault-auth:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install jq
run: sudo apt-get install jq -y

- name: Request GitHub OIDC token
id: oidc
run: |
echo "OIDC_TOKEN=$(curl -s -H \"Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN\" \
\"$ACTIONS_ID_TOKEN_REQUEST_URL\" | jq -r .value)" >> $GITHUB_ENV

- name: Authenticate to Vault
run: |
echo "Authenticating to Vault..."
response=$(curl --silent --request POST \
--data "{\"jwt\": \"$OIDC_TOKEN\", \"role\": \"github-actions\"}" \
https://vault.yourdomain.com/v1/auth/jwt/login)
echo "Vault response: $response"
echo "VAULT_TOKEN=$(echo $response | jq -r .auth.client_token)" >> $GITHUB_ENV

- name: (Optional) Read secret from Vault
run: |
curl --header "X-Vault-Token: $VAULT_TOKEN" \
https://vault.yourdomain.com/v1/secret/data/github/kratos_admin_token
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ pnpm-lock.yaml
# Ignore the elements repository that gets cloned in on npm install
elements/
.bin/

/src/generated/prisma
Empty file added .token.txt
Empty file.
Empty file added Accept
Empty file.
Empty file added Authorization
Empty file.
Empty file added GET
Empty file.
Empty file added Host
Empty file.
48 changes: 48 additions & 0 deletions Jira backlog-Kratos.csv

Large diffs are not rendered by default.

646 changes: 646 additions & 0 deletions Kratos-Playbook.txt

Large diffs are not rendered by default.

Loading
Loading