Skip to content

feat: expose selected profile access token - #9

Merged
ygpark80 merged 1 commit into
mainfrom
codex/profile-auth-token
Aug 13, 2026
Merged

ygpark80 merged 1 commit into
mainfrom
codex/profile-auth-token

Conversation

@ygpark80

@ygpark80 ygpark80 commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

User description

Changes

  • add cvlt --profile <profile> auth token for local clients that need the selected short-lived Circles credential
  • reuse the shared credential provider and its refresh behavior
  • document and test profile-based token resolution

Testing

  • bun test node/src/ cli/src/
  • bun run build
  • ./cvlt --profile prod:[email protected] auth token (verified locally with a real profile; token not logged)

CodeAnt-AI Description

Expose the selected Circles access token for local clients

What Changed

  • Added cvlt auth token to print the short-lived credential for the selected profile
  • Supports --profile, shared credential sources, and automatic refresh when the credential has expired
  • Reuses the same profile and credential resolution as other CLI commands, with clear errors when authentication cannot be resolved
  • Documented the command for integrations with other local clients

Impact

✅ Direct access to the selected profile token
✅ Automatic refresh of expired profile credentials
✅ Easier local client authentication

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@codeant-ai

codeant-ai Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 6db43d9 Aug 13, 2026 · 11:03 11:06

@codeant-ai

codeant-ai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added the size:M This PR changes 30-99 lines, ignoring generated files label Aug 13, 2026
@ygpark80
ygpark80 merged commit abc45c9 into main Aug 13, 2026
2 checks passed
@ygpark80
ygpark80 deleted the codex/profile-auth-token branch August 13, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant