I already configure to AWS BUT when I run serverless command it will give me error
Could not find an access key for tenant tiege-endpoints-app. Log out and log in again to create a new access key for this tenant.
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
buggy
July 22, 2019, 1:48pm
2
I created access key and secret key for tenant althout it is giving me same error
I am running in dev enviorment.
Check whether your environment variables are set:
$ env | grep -i aws
AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXX
AWS_SECRET_ACCESS_KEY=YYYYYYYYYYYYYYYYYYYYYYYYY
If the command above returns nothing, then take a look at the solution @buggy provided to set them properly.
yes it is returning .
AWS_SECRET_ACCESS_KEY=*********************************Be
AWS_ACCESS_KEY_ID=********************W2
What is the next step : as it is return same error again
Could not find an access key for tenant tiege-endpoints-app. Log out and log in again to create a new access key for this tenant.
The details it is asking for is to access your Serverless account. If you enter serverless login
at the CLI it will open a browser to allow you to login. Alternatively, you can remove the app
and tenant
(or org
) properties from your serverless.yml
so that it will stop trying to connect to your Serverless account
Thanks. I removed app and tenant properties.
after run serverless deploy command it is giving me below error :
ServerlessError: ‘configure’ not a valid key=value pair (missing equal-sign) in Authorization header: ‘AWS4-HMAC-SHA256 Credential=aws configure list/20190722/us-east-1/cloudformation/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=******************************************’.
To find your Access Key and Secret Access Key.
Log in to your AWS Management Console.
Click on your user name at the top right of the page.
Click on the Security Credentials link from the drop-down menu.
Find the Access Credentials section, and copy the latest Access Key ID.
https://docsbay.net/how-do-i-find-my-aws-access-key-and-secret-access-key