Skip to content

feat(core): support AICORE_SERVICE_KEY env var for credentials and rename env vars - #58

Open
yamaceay wants to merge 15 commits into
mainfrom
feat/aicore-service-key
Open

feat(core): support AICORE_SERVICE_KEY env var for credentials and rename env vars#58
yamaceay wants to merge 15 commits into
mainfrom
feat/aicore-service-key

Conversation

@yamaceay

@yamaceay yamaceay commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This PR aims to align the authentication conventions of core and gen packages more closely. Not directly applicable to base, since the definition of AI API client must remain unchanged. New unit tests are added + env vars are removed from unit tests.

@yamaceay
yamaceay requested a review from alpkom as a code owner August 12, 2026 15:08
@yamaceay
yamaceay force-pushed the feat/aicore-service-key branch from 2b882f6 to 0271d5b Compare August 12, 2026 15:13

@marikaner marikaner left a comment

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.

Just adding my 2 cents. As I am a python noob, @mwien please review ;)

Comment thread packages/core/ai_core_sdk/helpers/constants.py Outdated
Comment thread packages/core/tests/ai_core_client/test_credentials.py Outdated
Comment thread packages/core/tests/ai_core_client/test_credentials.py Outdated
Comment thread packages/core/tests/ai_core_client/test_credentials.py
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/pyproject.toml Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated

@ZhongpinWang ZhongpinWang left a comment

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.

First time reviewing python SDK :)

Some comments can be addressed later when doing the actual refactoring / cleaning up.

Comment thread packages/core/ai_core_sdk/helpers/constants.py Outdated
Comment thread packages/core/ai_core_sdk/helpers/constants.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/docs/ai_core_sdk.helpers.constants.html Outdated
Comment thread packages/core/tests/ai_core_client/test_credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/pyproject.toml Outdated
@yamaceay yamaceay changed the title feat(core): support AICORE_SERVICE_KEY env var for credentials feat(core): support AICORE_SERVICE_KEY env var for credentials and rename env vars Aug 14, 2026
@yamaceay
yamaceay force-pushed the feat/aicore-service-key branch from 90d6eb6 to 6861739 Compare August 14, 2026 08:54
@yamaceay
yamaceay requested a review from ZhongpinWang August 14, 2026 09:09
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
Comment thread packages/core/ai_core_sdk/credentials.py Outdated

@ZhongpinWang ZhongpinWang left a comment

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.

Looks much better now! Thanks for your effort 👍

@ZhongpinWang
ZhongpinWang dismissed their stale review August 14, 2026 09:34

Changes applied.

@yamaceay
yamaceay force-pushed the feat/aicore-service-key branch from 099e8da to 4d72a82 Compare August 14, 2026 10:59
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
@yamaceay
yamaceay force-pushed the feat/aicore-service-key branch from 806e347 to b51e307 Compare August 18, 2026 10:21
@yamaceay
yamaceay requested a review from ZhongpinWang August 18, 2026 10:38
@yamaceay
yamaceay requested review from marikaner and mwien August 18, 2026 10:38
Comment thread packages/core/ai_core_sdk/credentials.py
Comment thread packages/core/ai_core_sdk/credentials.py Outdated
@yamaceay
yamaceay enabled auto-merge (squash) August 26, 2026 07:31
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.

4 participants