As a DevOps engineer, I want to use service accounts with qctl in CI/CD pipelines so I can automate deployments without interactive authentication.
Design
Command Interface
# Create service account token (via web UI or API)# Token provided as environment variable or file# Authenticate with service accountexportQCTL_SERVICE_TOKEN=eyJhbGc...
qctl auth status
# Or via file
qctl auth login --service-account --token-file /path/to/token.json
# Or via environmentQCTL_TOKEN_FILE=/path/to/token.json qctl qrun publish
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
User Story
As a DevOps engineer, I want to use service accounts with qctl in CI/CD pipelines so I can automate deployments without interactive authentication.
Design
Command Interface
Service Account Token Format
Authentication Priority
CI/CD Examples
Files to Create/Modify
qctl-core/src/main/java/io/qrun/qctl/core/auth/ServiceAccountAuth.javaqctl-core/src/main/java/io/qrun/qctl/core/auth/TokenResolver.javaqctl-core/src/main/java/io/qrun/qctl/core/auth/model/ServiceAccount.javaqctl-core/src/main/java/io/qrun/qctl/core/auth/TokenManager.javaqctl-core/src/main/java/io/qrun/qctl/core/auth/LoginCommand.javaImplementation Tasks
Acceptance Criteria
qctl auth statusshows service account info