Support Artifactory Access Tokens for CI Integration
See original GitHub issueHi,
I have made use of Artifactory access tokens for uploads interactively by doing a conan user
and pasting in the encrypted password.
But when I run the build in a docker container, I would prefer to use the authentication header instead of a specific user. I could store it in a file or pass it on the command line or an environment variable. My workaround is to build the docker image with a .conan/.conan.db
resulting from having done the conan user
, above.
This would take some doing to affect the HTTP headers, but it would be really nice for CI pipelines.
So this would be ideal:
conan upload --auth-file=ci_upload.tok ...
conan upload --auth-tok="32984723938sfkajshu6*#82981234"...
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Access Tokens - JFrog - JFrog Documentation
Available from Artifactory version 7.29.7, a pairing token manages connections, by establishing trust between different JFrog microservices. The ...
Read more >Using the JFrog Artifactory CLI with API Keys or Access Tokens
The case for authenticating users is clear, however access tokens can also be assigned to non-user entities such as CI server jobs. Flexible ......
Read more >Manage access tokens - Docker Documentation
Access tokens are valuable for building integrations, as you can issue multiple tokens – one for each integration – and revoke them at...
Read more >JFrog Artifactory Integration with JupiterOne - AskJ1 Community
administrator name that granted the access tokens. You must have permission in JupiterOne to install new integrations. Support. If you need help ......
Read more >Maven packages in the Package Registry - GitLab Docs
Personal access token, Private-Token, Paste token as-is, ... administrators can disable this behavior in the Continuous Integration settings.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK. I think that’s a good solution. Thanks.
It doesn’t work like that. The artifacts.properties only set custom properties for PUT requests. A conan upload contains two requests, the first is calling the conan server (or artifactory) to authorize the upload by generating an internal temporary token, the second is the PUT request and is only a signed url, so authentication can’t be managed with
artifacts.properties
.