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

There is no field labelled 'API Key', only 'SID' and 'FRIENDLY NAME' in the dashboard #219

Open
mikemaccana opened this issue Sep 15, 2020 · 3 comments
Labels
status: help wanted requesting help from the community triage queue Issue is in our internal backlog. It's either a bug or a feature enhancement. type: docs update documentation change not affecting the code

Comments

@mikemaccana
Copy link

mikemaccana commented Sep 15, 2020

From twilio login output:

export TWILIO_API_KEY=an API Key created at twil.io/get-api-key
export TWILIO_API_SECRET=the secret for the API Key

But the UI at twil.io/get-api-key does not have an "API KEY" field. It has:

  • FRIENDLY NAME
  • SID
  • KEY TYPE
  • SECRET (obviously the secret).

Either:

  • The dashboard and twilio command should use the same term "API KEY SID" if that is what is meant, or some other term if something else is meant.
@mikemaccana mikemaccana changed the title There is no particular field labelled 'API Key;, only 'SID' and 'FRIENDLY NAME' in the dashboard There is no field labelled 'API Key', only 'SID' and 'FRIENDLY NAME' in the dashboard Sep 15, 2020
@eshanholtz
Copy link
Contributor

Please refer to our general usage guide on how to set API key and API Secret environment variables for the CLI to use. Once you've created the API Key, as indicated in the dashboard, the sid listed is your TWILIO_API_KEY, and the secret is your TWILIO_API_SECRET.
The other way to authenticate would be to set your TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN, using the account sid and auth token listed on the main Twilio dashboard.

@eshanholtz eshanholtz added status: waiting for feedback waiting for feedback from the submitter type: question question directed at the library labels Sep 21, 2020
@mikemaccana
Copy link
Author

Hi there! This isn't a question, I know how to get the value. This is a UX bug. See:

image

Note how none of the values are called 'API key'. Instead, API keys have multiple values, and the value being asked for is the SID of the API key.

One possible fix is for:

export TWILIO_API_KEY=an API Key created at twil.io/get-api-key

To be changed to read:

export TWILIO_API_KEY=an API Key SID created at twil.io/get-api-key

@eshanholtz eshanholtz added status: help wanted requesting help from the community type: docs update documentation change not affecting the code and removed status: waiting for feedback waiting for feedback from the submitter type: question question directed at the library labels Sep 22, 2020
@eshanholtz
Copy link
Contributor

Ah, this is a docs clarification. I understand now.

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

@eshanholtz eshanholtz reopened this Sep 22, 2020
@shrutiburman shrutiburman added the triage queue Issue is in our internal backlog. It's either a bug or a feature enhancement. label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted requesting help from the community triage queue Issue is in our internal backlog. It's either a bug or a feature enhancement. type: docs update documentation change not affecting the code
Projects
None yet
Development

No branches or pull requests

3 participants