update docs

pull/50/head
Muhammad Atif Ali 2 years ago
parent 990d712afd
commit a23a03e934
No known key found for this signature in database

@ -19,7 +19,7 @@ module "jfrog" {
source = "https://registry.coder.com/modules/jfrog" source = "https://registry.coder.com/modules/jfrog"
agent_id = coder_agent.example.id agent_id = coder_agent.example.id
jfrog_host = "YYYY.jfrog.io" jfrog_host = "YYYY.jfrog.io"
artifactory_access_token = "XXXX" # An admin access token artifactory_access_token = "var.artifactory_access_token" # An admin access token
package_managers = { package_managers = {
"npm": "npm-local", "npm": "npm-local",
"go": "go-local", "go": "go-local",
@ -27,3 +27,14 @@ module "jfrog" {
} }
} }
``` ```
## Authentication
Get a JFrog access token from your Artifactory instance. The token must have admin permissions. It is recommended to store the token in a secret terraform variable.
```hcl
variable "artifactory_access_token" {
type = string
sensitive = true
}
```

Loading…
Cancel
Save