Skip to content

feat: add cli command for api keys#1063

Merged
elibosley merged 79 commits intomainfrom
feat/add-cli-command-for-api-keys
Jan 27, 2025
Merged

feat: add cli command for api keys#1063
elibosley merged 79 commits intomainfrom
feat/add-cli-command-for-api-keys

Conversation

@mdatelle
Copy link
Contributor

@mdatelle mdatelle commented Jan 16, 2025

Summary by CodeRabbit

Release Notes: Unraid API v0.1.0

  • New Features

    • Added Single Sign-On (SSO) functionality with user management.
    • Introduced CLI commands for managing SSO users and API keys.
    • Enhanced configuration management with new SSO-related properties.
    • Added new command for managing API keys with options for roles and permissions.
    • New command for displaying current configuration values.
    • New command for logging retrieval from PM2.
    • New command for validating JWT tokens.
    • Introduced a command for managing API keys with structured options for creation.
  • Improvements

    • Refactored authentication mechanisms to utilize CSRF tokens instead of API keys.
    • Updated GraphQL schema to improve type safety.
    • Streamlined API key and permission management with enhanced validation.
    • Enhanced error handling during API key creation and loading processes.
    • Improved logging capabilities with a new logging service.
    • Added structured error handling in CLI commands.
    • Enhanced user interaction for API key management through CLI prompts.
  • Changes

    • Removed API key-based authentication.
    • Updated configuration file structure to reflect new SSO settings.
    • Improved logging and error handling throughout the API and CLI.
    • Modified command-line interface to simplify user interactions for API key management.
    • Adjusted command handling to support new structured approaches.
    • Removed deprecated CLI commands related to previous API management.
  • Bug Fixes

    • Improved error handling in configuration and authentication processes.
    • Fixed issues related to role and permission validation in API key management.
    • Resolved issues with SSO user addition and removal commands.
    • Addressed inconsistencies in command execution and logging outputs.
    • Fixed validation logic for JWT tokens and improved feedback for users.

Loading
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.

3 participants