Skip to content

Enable passing credentials from env var#4838

Merged
gulyasgergely902 merged 4 commits intoEricsson:masterfrom
dkrupp:password_env
May 7, 2026
Merged

Enable passing credentials from env var#4838
gulyasgergely902 merged 4 commits intoEricsson:masterfrom
dkrupp:password_env

Conversation

@dkrupp
Copy link
Copy Markdown
Member

@dkrupp dkrupp commented May 5, 2026

The user can pass authentication credentials
in the CC_PASSWORD environment variable
to the CodeChecker cmd login command.

The user can pass authentication credentials
in the CC_PASSWORD environment variable
to the CodeChecker cmd login command.
@dkrupp dkrupp requested review from bruntib and vodorok as code owners May 5, 2026 16:19
@dkrupp dkrupp requested a review from barnabasdomozi May 5, 2026 16:19
Copy link
Copy Markdown
Collaborator

@gulyasgergely902 gulyasgergely902 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some parts in the documentation which could be tweaked but aside from that LGTM.

Comment thread docs/web/authentication.md
Comment thread docs/web/authentication.md Outdated
Comment thread docs/web/authentication.md Outdated
authenticate in the name of the given user. This way no need to store passwords
in text files. For more information [see](#personal-access-token).

The location of the password file can be configured by the `CC_PASS_FILE`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why has this paragraph been removed? CC_PASS_FILE still exists. Would we like to deprecate it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is moved a bit ahead to line 627. It describes the same thing as the removed part. I

@dkrupp dkrupp requested a review from gulyasgergely902 May 7, 2026 07:44
Copy link
Copy Markdown
Collaborator

@gulyasgergely902 gulyasgergely902 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gulyasgergely902 gulyasgergely902 merged commit d0d8f54 into Ericsson:master May 7, 2026
8 of 9 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.

3 participants