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

feat: Add a Token struct to allow the CLI to differentiate between Bearer and APIKey tokens #66

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

mnorbury
Copy link
Contributor

@mnorbury mnorbury commented Nov 14, 2023

This PR adds a Token struct to allow the CLI to differentiate between the auth methods.

The CLI will have a different download flow depending on if the auth is using a bearer token vs an API key. For the bearer token the team_name is configured using the cloudquery switch command. For the API key, the key is associated with a team name already.

@mnorbury mnorbury added the automerge Add to automerge PRs once requirements are met label Nov 14, 2023
@kodiakhq kodiakhq bot merged commit bf70ed2 into main Nov 14, 2023
5 checks passed
@kodiakhq kodiakhq bot deleted the feat/adding-token-struct branch November 14, 2023 14:52
kodiakhq bot pushed a commit that referenced this pull request Nov 14, 2023
🤖 I have created a release *beep* *boop*
---


## [1.5.0](v1.4.6...v1.5.0) (2023-11-14)


### Features

* Add a `Token` struct to allow the CLI to differentiate between `Bearer` and `APIKey` tokens ([#66](#66)) ([bf70ed2](bf70ed2))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants