Skip to content
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

[ENHANCEMENT] Ability to pass access token for client authentication #124

Closed
samir-gandhi opened this issue May 3, 2023 · 0 comments
Closed
Labels
Milestone

Comments

@samir-gandhi
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

  • Add handling in the go-sdk client to receive a davinci access_token and thus skipping Sign-in.
  • Docs that indicate this can only be used if the P1 environment is not being created in the same module.

New or Affected Resource(s)

  • provider.go

Potential Terraform Configuration

New environment variable and provider config:
PINGONE_DAVINCI_ACCESS_TOKEN

provider "davinci" {
  username       = var.pingone_dv_admin_username
  password       = var.pingone_dv_admin_password
  environment_id = var.pingone_environment_id
  region         = var.pingone_region
}

->

provider "davinci" {
  access_token = var.pingone_dv_access_token
  environment_id = var.pingone_environment_id
  region         = var.pingone_region

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant