Skip to content

[adt-cli] Add BTP service key option to CLI interactive login command #73

Description

@ThePlenkov

Update packages/adt-cli/src/lib/commands/auth/login.ts to:

  • Add @abapify/adt-auth/plugins/service-key as second choice in promptManualConfig() next to Basic Auth
  • Auto-detect ADT_SERVICE_KEY or COPILOT_ADT_SERVICE_KEY env vars and use for non-interactive login
  • Add --service-key <path|json> CLI flag for alternative input
  • Ensure CLI fallback, error handling and documentation are correct

Parent Epic: #70
Blocks: #inject-service-key-env

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions