Skip to content

feat: new credential provider methods for accepting global api keys#451

Merged
alubbad merged 11 commits intomainfrom
globalApiKeys
Dec 16, 2025
Merged

feat: new credential provider methods for accepting global api keys#451
alubbad merged 11 commits intomainfrom
globalApiKeys

Conversation

@alubbad
Copy link
Contributor

@alubbad alubbad commented Nov 24, 2025

@alubbad alubbad requested a review from anitarua December 1, 2025 19:58
@alubbad alubbad marked this pull request as ready for review December 15, 2025 20:59
@alubbad alubbad requested a review from nand4011 December 15, 2025 21:00
@anitarua anitarua requested a review from nand4011 December 16, 2025 01:17
super(getApiKeyValueFromEnvVar(apiKeyEnvVar), getEndpointValueFromEnvVar(endpointEnvVar));
}

private static String getApiKeyValueFromEnvVar(String apiKeyEnvVar) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I still think we should make a single general function for this instead of having two slightly different ones. It could be used in the legacy env var provider as well.

Copy link
Contributor

@nand4011 nand4011 left a comment

Choose a reason for hiding this comment

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

LGTM. I don't want to block on simplifying the env var loading functions.

@anitarua anitarua self-requested a review December 16, 2025 17:31
Copy link
Contributor

@anitarua anitarua left a comment

Choose a reason for hiding this comment

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

can fast follow with some refactoring along with examples updates

@alubbad alubbad merged commit 68aaa5d into main Dec 16, 2025
4 checks passed
@alubbad alubbad deleted the globalApiKeys branch December 16, 2025 17:32
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