You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use a private vcpkg registry, on gitlab which requires username and password or access-token, in vcpkg Manifest mode, without having to store the actual Access-Token in "vcpkg-configuration.json"?
For example, something like this Manifest file works: { "default-registry": { "kind": "git", "repository": "https://user:glpat-SomeTokenHere@gitlab.SomeCompany.com/path/to/vcpkg-registry.git", "baseline": "a9b8c7d6e5f4g3hi2jk1lm0no1p2q3r4st5uvwxyz" } }
But having to check in a Access-Token is not an option.
Is there a Way to use a environment variable in the Manifest file?
Something similar to this: { "default-registry": { "kind": "git", "repository": "https://user:${AUTH_TOKEN}@gitlab.SomeCompany.com/path/to/vcpkg-registry.git", "baseline": "a9b8c7d6e5f4g3hi2jk1lm0no1p2q3r4st5uvwxyz" } }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to use a private vcpkg registry, on gitlab which requires username and password or access-token, in vcpkg Manifest mode, without having to store the actual Access-Token in "vcpkg-configuration.json"?
For example, something like this Manifest file works:
{ "default-registry": { "kind": "git", "repository": "https://user:glpat-SomeTokenHere@gitlab.SomeCompany.com/path/to/vcpkg-registry.git", "baseline": "a9b8c7d6e5f4g3hi2jk1lm0no1p2q3r4st5uvwxyz" } }
But having to check in a Access-Token is not an option.
Is there a Way to use a environment variable in the Manifest file?
Something similar to this:
{ "default-registry": { "kind": "git", "repository": "https://user:${AUTH_TOKEN}@gitlab.SomeCompany.com/path/to/vcpkg-registry.git", "baseline": "a9b8c7d6e5f4g3hi2jk1lm0no1p2q3r4st5uvwxyz" } }
Beta Was this translation helpful? Give feedback.
All reactions