Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credentials from env don't support multiple variables #2490

Open
kubukoz opened this issue Dec 19, 2024 · 1 comment
Open

Credentials from env don't support multiple variables #2490

kubukoz opened this issue Dec 19, 2024 · 1 comment
Labels
bug This issue is a bug.

Comments

@kubukoz
Copy link
Contributor

kubukoz commented Dec 19, 2024

e.g.

{
  "url": "REDACTED",
  "httpCredentials": "${ARTIFACTORY_USER}:${ARTIFACTORY_TOKEN}"
}

will attempt to resolve a single variable named ARTIFACTORY_USER}:${ARTIFACTORY_TOKEN, failing with:

Unable to expand variable `ARTIFACTORY_USER}:${ARTIFACTORY_TOKEN` to an environment variable or system property: (pwd)smithy-build.json [7, 28]
@JordonPhillips
Copy link
Contributor

That's unfortunate. In the meantime you may be able to combine them into a single environment variable in whatever is calling the smithy build.

@JordonPhillips JordonPhillips added the bug This issue is a bug. label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants