From a23a03e934b3565ab9c80a09c6c2207148368938 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 26 Sep 2023 16:12:12 +0300 Subject: [PATCH] update docs --- jfrog/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/jfrog/README.md b/jfrog/README.md index e00d599..4fe40ea 100644 --- a/jfrog/README.md +++ b/jfrog/README.md @@ -19,7 +19,7 @@ module "jfrog" { source = "https://registry.coder.com/modules/jfrog" agent_id = coder_agent.example.id 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 = { "npm": "npm-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 +} +```