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

Support authentication using OAuth2 #60

Closed
maxsxu opened this issue Sep 8, 2022 · 1 comment · Fixed by #63
Closed

Support authentication using OAuth2 #60

maxsxu opened this issue Sep 8, 2022 · 1 comment · Fixed by #63
Assignees

Comments

@maxsxu
Copy link
Member

maxsxu commented Sep 8, 2022

Description

New or Affected Resource(s)

  • Just Provider Configuration

Potential Terraform Configuration

provider "pulsar" {
  web_service_url = "http://localhost:8080"
  key_file_path = "/path/to/privateKey"
  issuer_url = "https://dev-kt-aa9ne.us.auth0.com"
  audience = "https://dev-kt-aa9ne.us.auth0.com/api/v2/"
  client_id = "0Xx...Yyxeny",
}

References

@EronWright
Copy link

EronWright commented Sep 8, 2022

Note that this implementation of oauth2 (based on pulsarctl) will store access tokens to ~/.pulsar/credentials (on linux; on mac/windows, the keyring component may use other strategies). That's probably fine, but worth documenting.

@maxsxu maxsxu self-assigned this Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants