ASK CLI fails to load AWS_ACCESS_KEY_ID variable The Next CEO of Stack OverflowCan't push image to Amazon ECR - fails with “no basic auth credentials”When to use AWS CLI and EB CLIUnable to load AWS credentials from any provider in the chain in Docker EC2 envException while deploying lambda function using ASK CLIFlask-Ask Custom Alexa Skill In PythonAsk init…not workingCannot find the environment variable on skill deployin `validate_options': Missing required arguments: aws_access_key_id, aws_secret_access_key (ArgumentError)Is it possible to setup the ASK CLI profile without setting up an AWS profile
How to delete every two lines after 3rd lines in a file contains very large number of lines?
How do I align (1) and (2)?
Does increasing your ability score affect your main stat?
Poetry, calligrams and TikZ/PStricks challenge
What happened in Rome, when the western empire "fell"?
The exact meaning of 'Mom made me a sandwich'
Why, when going from special to general relativity, do we just replace partial derivatives with covariant derivatives?
WOW air has ceased operation, can I get my tickets refunded?
Is French Guiana a (hard) EU border?
The past simple of "gaslight" – "gaslighted" or "gaslit"?
How to count occurrences of text in a file?
Reference request: Grassmannian and Plucker coordinates in type B, C, D
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
Is there a difference between "Fahrstuhl" and "Aufzug"
What is meant by "large scale tonal organization?"
Axiom Schema vs Axiom
Proper way to express "He disappeared them"
Why does the flight controls check come before arming the autobrake on the A320?
Would a completely good Muggle be able to use a wand?
Is the D&D universe the same as the Forgotten Realms universe?
Flying from Cape Town to England and return to another province
Using Rolle's theorem to show an equation has only one real root
Legal workarounds for testamentary trust perceived as unfair
Why do airplanes bank sharply to the right after air-to-air refueling?
ASK CLI fails to load AWS_ACCESS_KEY_ID variable
The Next CEO of Stack OverflowCan't push image to Amazon ECR - fails with “no basic auth credentials”When to use AWS CLI and EB CLIUnable to load AWS credentials from any provider in the chain in Docker EC2 envException while deploying lambda function using ASK CLIFlask-Ask Custom Alexa Skill In PythonAsk init…not workingCannot find the environment variable on skill deployin `validate_options': Missing required arguments: aws_access_key_id, aws_secret_access_key (ArgumentError)Is it possible to setup the ASK CLI profile without setting up an AWS profile
I'm trying to use the Ask CLI to deploy an Alexa skill, but whenever I run ask deploy
, I get this error:
[Error]: Cannot find the environment variable: AWS_ACCESS_KEY_ID
I'm 100% sure the AWS_ACCESS_KEY_ID
env variable is set to a valid access key. This is how I'm setting it in my ~/.zshrc
file:
export AWS_ACCESS_KEY_ID=AKIBJRSRMxxxxxxxxx
export AWS_SECRET_ACCESS_KEY=fS0A6MS9Q9V1OIxKQjKwwaO2fxxxxxxxxxxxx
It is also set in my default AWS credentials at ~/.aws/credentials
:
[default]
aws_access_key_id=AKIBJRSRMxxxxxxxxx
aws_secret_access_key=fS0A6MS9Q9V1OIxKQjKwwaO2fxxxxxxxxxxxx
I've re-run ask init
multiple times and selected "load from env variables" and logged in through the browser successfully.
I've double checked my .zshrc
is loaded with source ~/.zshrc
. I've also echoed $AWS_ACCESS_KEY_ID
successfully:
echo $AWS_ACCESS_KEY_ID
AKIBJRSRMxxxxxxxxx
And I've tried running ask deploy
with the access key variable directly:
AWS_ACCESS_KEY_ID=AKIBJRSRMxxxxxxxxx ask deploy
[Error]: Cannot find the environment variable: AWS_ACCESS_KEY_ID
And I know these credentials are valid because I created them an hour ago.
The ask init
prompt even says We have detected you have AWS environment variables. Would you like to setup your profile using those?
which I answer yes to:
I've created an issues in the alexa skills kit sdk repo:
https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/issues/531
But the maintainers point other issue authors to SO and the amazon dev forum.
Versions:
- Ask CLI 1.6.4
- Node 10.11.0
- NPM 6.4.1
- Mac OSX Mojave 10.14.2
- AWS CLI
aws-cli/1.16.56 Python/2.7.13 Darwin/18.2.0 botocore/1.12.46
EDIT:
I was able to deploy successfully by downgrading to ask-cli@1.6.1
. It appears this bug was introduced in ask-cli@1.6.2
.
amazon-web-services aws-sdk alexa alexa-voice-service
add a comment |
I'm trying to use the Ask CLI to deploy an Alexa skill, but whenever I run ask deploy
, I get this error:
[Error]: Cannot find the environment variable: AWS_ACCESS_KEY_ID
I'm 100% sure the AWS_ACCESS_KEY_ID
env variable is set to a valid access key. This is how I'm setting it in my ~/.zshrc
file:
export AWS_ACCESS_KEY_ID=AKIBJRSRMxxxxxxxxx
export AWS_SECRET_ACCESS_KEY=fS0A6MS9Q9V1OIxKQjKwwaO2fxxxxxxxxxxxx
It is also set in my default AWS credentials at ~/.aws/credentials
:
[default]
aws_access_key_id=AKIBJRSRMxxxxxxxxx
aws_secret_access_key=fS0A6MS9Q9V1OIxKQjKwwaO2fxxxxxxxxxxxx
I've re-run ask init
multiple times and selected "load from env variables" and logged in through the browser successfully.
I've double checked my .zshrc
is loaded with source ~/.zshrc
. I've also echoed $AWS_ACCESS_KEY_ID
successfully:
echo $AWS_ACCESS_KEY_ID
AKIBJRSRMxxxxxxxxx
And I've tried running ask deploy
with the access key variable directly:
AWS_ACCESS_KEY_ID=AKIBJRSRMxxxxxxxxx ask deploy
[Error]: Cannot find the environment variable: AWS_ACCESS_KEY_ID
And I know these credentials are valid because I created them an hour ago.
The ask init
prompt even says We have detected you have AWS environment variables. Would you like to setup your profile using those?
which I answer yes to:
I've created an issues in the alexa skills kit sdk repo:
https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/issues/531
But the maintainers point other issue authors to SO and the amazon dev forum.
Versions:
- Ask CLI 1.6.4
- Node 10.11.0
- NPM 6.4.1
- Mac OSX Mojave 10.14.2
- AWS CLI
aws-cli/1.16.56 Python/2.7.13 Darwin/18.2.0 botocore/1.12.46
EDIT:
I was able to deploy successfully by downgrading to ask-cli@1.6.1
. It appears this bug was introduced in ask-cli@1.6.2
.
amazon-web-services aws-sdk alexa alexa-voice-service
please add the output ofask --version
to the question (1.6.4 according to the bug report)
– Sébastien Stormacq
Mar 21 at 18:25
@SébastienStormacq Updated my question with versions.
– SimpleJ
Mar 21 at 18:31
add a comment |
I'm trying to use the Ask CLI to deploy an Alexa skill, but whenever I run ask deploy
, I get this error:
[Error]: Cannot find the environment variable: AWS_ACCESS_KEY_ID
I'm 100% sure the AWS_ACCESS_KEY_ID
env variable is set to a valid access key. This is how I'm setting it in my ~/.zshrc
file:
export AWS_ACCESS_KEY_ID=AKIBJRSRMxxxxxxxxx
export AWS_SECRET_ACCESS_KEY=fS0A6MS9Q9V1OIxKQjKwwaO2fxxxxxxxxxxxx
It is also set in my default AWS credentials at ~/.aws/credentials
:
[default]
aws_access_key_id=AKIBJRSRMxxxxxxxxx
aws_secret_access_key=fS0A6MS9Q9V1OIxKQjKwwaO2fxxxxxxxxxxxx
I've re-run ask init
multiple times and selected "load from env variables" and logged in through the browser successfully.
I've double checked my .zshrc
is loaded with source ~/.zshrc
. I've also echoed $AWS_ACCESS_KEY_ID
successfully:
echo $AWS_ACCESS_KEY_ID
AKIBJRSRMxxxxxxxxx
And I've tried running ask deploy
with the access key variable directly:
AWS_ACCESS_KEY_ID=AKIBJRSRMxxxxxxxxx ask deploy
[Error]: Cannot find the environment variable: AWS_ACCESS_KEY_ID
And I know these credentials are valid because I created them an hour ago.
The ask init
prompt even says We have detected you have AWS environment variables. Would you like to setup your profile using those?
which I answer yes to:
I've created an issues in the alexa skills kit sdk repo:
https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/issues/531
But the maintainers point other issue authors to SO and the amazon dev forum.
Versions:
- Ask CLI 1.6.4
- Node 10.11.0
- NPM 6.4.1
- Mac OSX Mojave 10.14.2
- AWS CLI
aws-cli/1.16.56 Python/2.7.13 Darwin/18.2.0 botocore/1.12.46
EDIT:
I was able to deploy successfully by downgrading to ask-cli@1.6.1
. It appears this bug was introduced in ask-cli@1.6.2
.
amazon-web-services aws-sdk alexa alexa-voice-service
I'm trying to use the Ask CLI to deploy an Alexa skill, but whenever I run ask deploy
, I get this error:
[Error]: Cannot find the environment variable: AWS_ACCESS_KEY_ID
I'm 100% sure the AWS_ACCESS_KEY_ID
env variable is set to a valid access key. This is how I'm setting it in my ~/.zshrc
file:
export AWS_ACCESS_KEY_ID=AKIBJRSRMxxxxxxxxx
export AWS_SECRET_ACCESS_KEY=fS0A6MS9Q9V1OIxKQjKwwaO2fxxxxxxxxxxxx
It is also set in my default AWS credentials at ~/.aws/credentials
:
[default]
aws_access_key_id=AKIBJRSRMxxxxxxxxx
aws_secret_access_key=fS0A6MS9Q9V1OIxKQjKwwaO2fxxxxxxxxxxxx
I've re-run ask init
multiple times and selected "load from env variables" and logged in through the browser successfully.
I've double checked my .zshrc
is loaded with source ~/.zshrc
. I've also echoed $AWS_ACCESS_KEY_ID
successfully:
echo $AWS_ACCESS_KEY_ID
AKIBJRSRMxxxxxxxxx
And I've tried running ask deploy
with the access key variable directly:
AWS_ACCESS_KEY_ID=AKIBJRSRMxxxxxxxxx ask deploy
[Error]: Cannot find the environment variable: AWS_ACCESS_KEY_ID
And I know these credentials are valid because I created them an hour ago.
The ask init
prompt even says We have detected you have AWS environment variables. Would you like to setup your profile using those?
which I answer yes to:
I've created an issues in the alexa skills kit sdk repo:
https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/issues/531
But the maintainers point other issue authors to SO and the amazon dev forum.
Versions:
- Ask CLI 1.6.4
- Node 10.11.0
- NPM 6.4.1
- Mac OSX Mojave 10.14.2
- AWS CLI
aws-cli/1.16.56 Python/2.7.13 Darwin/18.2.0 botocore/1.12.46
EDIT:
I was able to deploy successfully by downgrading to ask-cli@1.6.1
. It appears this bug was introduced in ask-cli@1.6.2
.
amazon-web-services aws-sdk alexa alexa-voice-service
amazon-web-services aws-sdk alexa alexa-voice-service
edited Mar 21 at 18:42
SimpleJ
asked Mar 21 at 18:12
SimpleJSimpleJ
5,98642246
5,98642246
please add the output ofask --version
to the question (1.6.4 according to the bug report)
– Sébastien Stormacq
Mar 21 at 18:25
@SébastienStormacq Updated my question with versions.
– SimpleJ
Mar 21 at 18:31
add a comment |
please add the output ofask --version
to the question (1.6.4 according to the bug report)
– Sébastien Stormacq
Mar 21 at 18:25
@SébastienStormacq Updated my question with versions.
– SimpleJ
Mar 21 at 18:31
please add the output of
ask --version
to the question (1.6.4 according to the bug report)– Sébastien Stormacq
Mar 21 at 18:25
please add the output of
ask --version
to the question (1.6.4 according to the bug report)– Sébastien Stormacq
Mar 21 at 18:25
@SébastienStormacq Updated my question with versions.
– SimpleJ
Mar 21 at 18:31
@SébastienStormacq Updated my question with versions.
– SimpleJ
Mar 21 at 18:31
add a comment |
1 Answer
1
active
oldest
votes
Looks like a bug in that version of the CLI. Current workaround is to use AWS credentials in your ~/.aws
profile and not environment variables.
I forwarded this question to the appropriate team @ Alexa.
I have the same credentials set~/.aws/credentials
as[default]
.
– SimpleJ
Mar 21 at 18:33
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55286776%2fask-cli-fails-to-load-aws-access-key-id-variable%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Looks like a bug in that version of the CLI. Current workaround is to use AWS credentials in your ~/.aws
profile and not environment variables.
I forwarded this question to the appropriate team @ Alexa.
I have the same credentials set~/.aws/credentials
as[default]
.
– SimpleJ
Mar 21 at 18:33
add a comment |
Looks like a bug in that version of the CLI. Current workaround is to use AWS credentials in your ~/.aws
profile and not environment variables.
I forwarded this question to the appropriate team @ Alexa.
I have the same credentials set~/.aws/credentials
as[default]
.
– SimpleJ
Mar 21 at 18:33
add a comment |
Looks like a bug in that version of the CLI. Current workaround is to use AWS credentials in your ~/.aws
profile and not environment variables.
I forwarded this question to the appropriate team @ Alexa.
Looks like a bug in that version of the CLI. Current workaround is to use AWS credentials in your ~/.aws
profile and not environment variables.
I forwarded this question to the appropriate team @ Alexa.
answered Mar 21 at 18:31
Sébastien StormacqSébastien Stormacq
8,25322445
8,25322445
I have the same credentials set~/.aws/credentials
as[default]
.
– SimpleJ
Mar 21 at 18:33
add a comment |
I have the same credentials set~/.aws/credentials
as[default]
.
– SimpleJ
Mar 21 at 18:33
I have the same credentials set
~/.aws/credentials
as [default]
.– SimpleJ
Mar 21 at 18:33
I have the same credentials set
~/.aws/credentials
as [default]
.– SimpleJ
Mar 21 at 18:33
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55286776%2fask-cli-fails-to-load-aws-access-key-id-variable%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
please add the output of
ask --version
to the question (1.6.4 according to the bug report)– Sébastien Stormacq
Mar 21 at 18:25
@SébastienStormacq Updated my question with versions.
– SimpleJ
Mar 21 at 18:31