Skip to content

voidkey-oss/sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Voidkey Sandbox Environment

This sandbox provides a complete development environment for the Voidkey zero-trust credential broker system.

Services

Keycloak (Identity Provider)

Realms and Clients

Broker Realm (broker)

  • Client ID: broker-service
  • Client Secret: broker-secret-12345
  • Service Account: service-account-broker-service
  • Purpose: Machine-to-machine authentication for the broker service

Client Realm (client)

  • Client ID: cli-client
  • Client Secret: client-secret-67890
  • Service Account: service-account-cli-client
  • Purpose: Machine-to-machine authentication for the CLI client

MinIO (Object Storage)

Users and Policies

Broker User

  • Username: broker-user
  • Password: broker-password-123
  • Policy: broker-policy (Currently admin:* for testing - will be narrowed to credential minting scope only in future versions. In production, this should be scoped purely to minting credentials for specific roles to minimize blast radius)

Client User

  • Username: client-user
  • Password: client-password-456
  • Policy: client-policy (Full S3 access to voidkey-data bucket)

Usage

Start the Environment

docker-compose up -d

Stop the Environment

docker-compose down

Clean Reset

docker-compose down -v
docker-compose up -d

View Logs

docker-compose logs -f

Workflow

  1. CLI Authentication: CLI authenticates with Keycloak client realm using cli-client credentials
  2. Broker Authentication: Broker authenticates with Keycloak broker realm using broker-service credentials
  3. Credential Minting: Broker uses its MinIO credentials to mint temporary credentials for the client
  4. Resource Access: Client uses minted credentials to access MinIO resources

Test Bucket

A test bucket named voidkey-data is automatically created and configured for client access.

About

Sandbox environment for testing voidkey

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages