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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authenticate provider using the pingctl command line tool configuration #212

Open
patrickcping opened this issue Nov 7, 2022 · 0 comments
Assignees
Labels
status/blocked/upstream-sdk The issue/PR is blocked by an upstream SDK type/enhancement/ux Enhancements specifically for user experience of the provider

Comments

@patrickcping
Copy link
Collaborator

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

The pingctl command line tool maintains worker application credentials in its configuration. Request is to allow the provider to authenticate using these details instead of relying on explicit definition in the HCL

Potential Terraform Configuration

# Copy-paste your PingOne related Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

# Remember to replace any account/customer sensitive information in the configuration before submitting the issue

provider "pingone" {
}
$ pingctl info

################################################################################
#     pingctl CLI (version 1.0.5)
#
#                PINGCTL_CONFIG : /Users/patrickcowland/.pingidentity/config 
################################################################################
#     PingOne variables
################################################################################

  PINGONE_API_URL                  : https://api.pingone.eu/v1
  PINGONE_AUTH_URL                 : https://auth.pingone.eu
  PINGONE_ENVIRONMENT_ID           : (REDACTED)

  PINGONE_WORKER_APP_CLIENT_ID     : (REDACTED)
  PINGONE_WORKER_APP_GRANT_TYPE    : client_credentials
  PINGONE_WORKER_APP_REDIRECT_URI  : http://localhost:8000
  PINGONE_WORKER_APP_CLIENT_SECRET : *** REDACTED *** (use -v to display)

################################################################################
#     Ping DevOps variables
################################################################################

  PING_IDENTITY_DEVOPS_USER        : (REDACTED)
  PING_IDENTITY_DEVOPS_KEY         : *** REDACTED *** (use -v to display)

  PING_IDENTITY_DEVOPS_HOME        : /Users/patrickcowland/projects/devops
  PING_IDENTITY_DEVOPS_REGISTRY    : docker.io/pingidentity

  PING_IDENTITY_DEVOPS_TAG         : latest

  PING_IDENTITY_ACCEPT_EULA        : yes

################################################################################
 To change config, run:
    pingctl config

References

@patrickcping patrickcping added the type/enhancement New feature or request label Nov 7, 2022
@patrickcping patrickcping added this to the v0.8.0 milestone Nov 7, 2022
@patrickcping patrickcping added the status/blocked/upstream-sdk The issue/PR is blocked by an upstream SDK label Nov 7, 2022
@patrickcping patrickcping self-assigned this Jan 3, 2023
@patrickcping patrickcping removed this from the v0.9.0 milestone Jan 12, 2023
@patrickcping patrickcping added type/enhancement/ux Enhancements specifically for user experience of the provider and removed type/enhancement New feature or request labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/blocked/upstream-sdk The issue/PR is blocked by an upstream SDK type/enhancement/ux Enhancements specifically for user experience of the provider
Projects
None yet
Development

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

1 participant