amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

awsmobile publish with Environment Variables #139

Open AustinDeric opened 6 years ago

AustinDeric commented 6 years ago

It looks like you have to use awsmobile publish with a credential config file because of the variable AWSConfigFilePath in the aws-info.json file. This is a problem when using awsmobile with continuous deployment because you cannot keep secret environment variables.

Is there any guidance on how to use environment variables for the credentials in awsmobile publish? https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html

Thanks!

UnleashedMind commented 6 years ago

Unfortunately the awsmobile-cli does not support environment variables at this moment. I will mark this as a feature request.