feat(access-token): add ephemeral access-token resource (#1068)
* feat(access-token): add ephemeral access-token resource Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud>
This commit is contained in:
parent
368b8d55be
commit
0e9b97a513
12 changed files with 733 additions and 5 deletions
16
stackit/internal/services/access_token/testdata/service_account.json
vendored
Normal file
16
stackit/internal/services/access_token/testdata/service_account.json
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"id": "cad1592f-1fe6-4fd1-a6d6-ccef94b01697",
|
||||
"publicKey": "-----BEGIN PUBLIC KEY-----\nABC\n-----END PUBLIC KEY-----",
|
||||
"createdAt": "2025-11-25T15:19:30.689+00:00",
|
||||
"keyType": "USER_MANAGED",
|
||||
"keyOrigin": "GENERATED",
|
||||
"keyAlgorithm": "RSA_2048",
|
||||
"active": true,
|
||||
"credentials": {
|
||||
"kid": "cad1592f-1fe6-4fd1-a6d6-ccef94b01697",
|
||||
"iss": "foo.bar@sa.stackit.cloud",
|
||||
"sub": "cad1592f-1fe6-4fd1-a6d6-ccef94b01697",
|
||||
"aud": "https://stackit-service-account-prod.apps.01.cf.eu01.stackit.cloud",
|
||||
"privateKey": "-----BEGIN PRIVATE KEY-----\nABC\n-----END PRIVATE KEY-----"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue