Skip to content

API key policy management#161

Merged
BadgerOps merged 3 commits intomasterfrom
feature/api-key-policy-management
May 7, 2026
Merged

API key policy management#161
BadgerOps merged 3 commits intomasterfrom
feature/api-key-policy-management

Conversation

@BadgerOps
Copy link
Copy Markdown
Owner

Summary

  • add API key policy settings for default expiry, maximum lifetime, rotation reminders, and per-role scope ceilings
  • show API key age, expiration status, days until expiry, and rotation-due state in the UI
  • fix the Nix dev shell Go toolchain path so make cover and make cover-threshold run under the selected Go toolchain
  • document the new settings in AUTH_FLOWS, OpenAPI, and the versioned changelog

Closes #133.

Validation

  • env XDG_CACHE_HOME=/tmp/nix-cache nix develop -c go test ./internal/api ./internal/auth ./internal/domain
  • env XDG_CACHE_HOME=/tmp/nix-cache nix develop -c npm run build (from ui/)
  • env XDG_CACHE_HOME=/tmp/nix-cache nix develop -c make cover (56.0% total coverage)
  • env XDG_CACHE_HOME=/tmp/nix-cache nix develop -c scripts/pre-commit

Issue notes

@BadgerOps BadgerOps merged commit 30a47ec into master May 7, 2026
16 checks passed
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.

API Key Policy Management

1 participant