Skip to main content

Keycloak-based dev STS helper for the ARP Standard.

Project description

ARP STS Keycloak

Keycloak-based dev STS helper for the ARP Standard. This package provides a small CLI that writes a ready-to-run Keycloak docker compose file plus a preconfigured arp-dev realm with ARP clients.

Quick start

pip install arp-sts-keycloak
arp-sts-keycloak init --output ./arp-keycloak
cd ./arp-keycloak
docker compose up -d

Keycloak will be available at http://localhost:8080.

Default realm

The bundled realm is named arp-dev and includes the following clients:

  • arp-daemon (client secret: arp-daemon-secret)
  • arp-runtime (client secret: arp-runtime-secret)
  • arp-tool-registry (client secret: arp-tool-registry-secret)
  • arp-run-gateway (client secret: arp-run-gateway-secret)
  • arp-run-coordinator (client secret: arp-run-coordinator-secret)
  • arp-composite-executor (client secret: arp-composite-executor-secret)
  • arp-atomic-executor (client secret: arp-atomic-executor-secret)
  • arp-node-registry (client secret: arp-node-registry-secret)
  • arp-selection-service (client secret: arp-selection-service-secret)
  • arp-pdp (client secret: arp-pdp-secret)

Each client is configured for client-credentials flow and includes an audience mapper so the access token aud claim matches the client ID.

Get a token (client credentials)

curl -sS \
  -X POST \
  http://localhost:8080/realms/arp-dev/protocol/openid-connect/token \
  -d 'grant_type=client_credentials' \
  -d 'client_id=arp-runtime' \
  -d 'client_secret=arp-runtime-secret'

Use the resulting access_token as Authorization: Bearer <token>.

Service configuration hints

  • Issuer: http://localhost:8080/realms/arp-dev
  • OIDC discovery: http://localhost:8080/realms/arp-dev/.well-known/openid-configuration
  • Audience: match the ARP service ID (for example arp-runtime)

Notes

  • This package is intended for local development and testing.
  • arp-sts-keycloak init writes two files: docker-compose.yml and realm-export.json.
  • Use --force to overwrite existing files.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arp_sts_keycloak-0.2.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arp_sts_keycloak-0.2.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file arp_sts_keycloak-0.2.1.tar.gz.

File metadata

  • Download URL: arp_sts_keycloak-0.2.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arp_sts_keycloak-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8abd32295da509baa949600f5d6cdf47ccbbc13a693bae721d2bd59f4472cc1f
MD5 f1e4b7af7fc6df7a2070bce2ca3e3a99
BLAKE2b-256 51465c51a3f6148d2ff130c621e225f93f7f8a5b1a7657cd69366b1ab9338e35

See more details on using hashes here.

Provenance

The following attestation bundles were made for arp_sts_keycloak-0.2.1.tar.gz:

Publisher: release.yml on AgentRuntimeProtocol/ARP_STS_KeyCloak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arp_sts_keycloak-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for arp_sts_keycloak-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf15c3911e3a55671b989cb0d316a1706eb34f33fd2c4aad6792644fea937610
MD5 d4b8016484dc17e0ff5040c492af2523
BLAKE2b-256 3d5b168d665f899e23a4a416a154277488fac3a0d997b4a7a0b0cc66a29236b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for arp_sts_keycloak-0.2.1-py3-none-any.whl:

Publisher: release.yml on AgentRuntimeProtocol/ARP_STS_KeyCloak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page