-
Notifications
You must be signed in to change notification settings - Fork 53
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
BearerToken authentication not possible - missing parameter documentation / validation? #158
Comments
Any chance to move this forward, this really blocks us. Sorry! |
I guess we will to patch https://github.com/datadrivers/terraform-provider-nexus/blob/master/nexus/data_source_repository.go#L146 to add something like |
Moin, |
You mean the resource defintion, sure: resource "nexus_repository" "npm_fontawesome_proxy" {
name = "fontawesome-proxy"
format = "npm"
type = "proxy"
proxy {
remote_url = "https://npm.fontawesome.com"
}
http_client {
authentication {
type = "bearerToken"
# not possible due to https://github.com/datadrivers/terraform-provider-nexus/issues/158
#token = "secret"
}
}
negative_cache {
enabled = true
ttl = 1440
}
storage {
blob_store_name = var.blob-cache_name
strict_content_type_validation = true
}
} That should be it. So the point is, type can be |
Thank You. |
@ruedigerblock interesting - thank you a lot for your effort! I was not aware that this API is not available yet. Which endpoint did you scan for that check? I recall nexus has an build in rest browser, but what endpoint are you referring too? |
I created this issue at Sonatype: https://issues.sonatype.org/browse/NEXUS-30725 |
Thank you. The ticket seems to be private (for now) - I cannot access it. Maybe they make it public after a review. Thank you for caring about it |
I think this is what you should monitor: |
@ruedigerblock thank you once again! |
This issue has been automatically marked as |
Any news on that front? |
With [
"username",
"ntlm"
] So bearer is still not exposed |
With 3.62.2 [
"username",
"ntlm"
] So bearer is still not exposed |
Still no update from Nexus. But there is an issue and it looks like there is progress: sonatype/nexus-public#247 |
With 3.68.0 still [
"username",
"ntlm"
] |
[
"username",
"ntlm"
] I just left a comment in the issue mentioned here in the hope of some kind of feedback whether this is something the Nexus devs have on their roadmap or not. |
[
"username",
"ntlm"
] |
[
"username",
"ntlm"
] |
[
"username",
"ntlm"
] |
I created an upstream issue including a PR for this feature: sonatype/nexus-public#540 |
Thank you for stepping in @afrimberger - everybody here waiting, be sure to upvote the ticket and the PR so sonar gets it on the radar (probably) |
When using bearerToken as an
type
for authentication, I get an errroif I then set
I then get an
If I set the
username
orpassword
the former error appears.Is bearerToken not properly exposed / parsed as a parameter in http_client.authentication but required?
The text was updated successfully, but these errors were encountered: