awsmobile-cli icon indicating copy to clipboard operation
awsmobile-cli copied to clipboard

awsmobile publish with Environment Variables

Open AustinDeric opened this issue 7 years ago • 1 comments

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!

AustinDeric avatar May 30 '18 19:05 AustinDeric

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

UnleashedMind avatar May 30 '18 21:05 UnleashedMind