The provider requires the JFrog platform URL and an access token to make changes on the JFrog Platform. You can find more information about the JFrog Credential for Terraform Provider here.
You can use the following methods to manage these sensitive data.
Environment variables
HashiCorp Vault provider
Input variables with
.tfvars
file
For environment variables, set JFROG_URL
and JFROG_ACCESS_TOKEN
to your JFrog Platform URL and access token.
export JFROG_URL=https://myexample.jfrog.io export JFROG_ACCESS_TOKEN=<your access token>
Note
The access token needs to have admin permission.