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

Variables? #49

Open
akosveres opened this issue Nov 10, 2017 · 2 comments
Open

Variables? #49

akosveres opened this issue Nov 10, 2017 · 2 comments

Comments

@akosveres
Copy link

Hi.

We'd like to set key_scope, signing_key and access_key with a variable. Based on our tests this doesn't work, one prood is :

<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>$aws_access_key</AWSAccessKeyId><RequestId>

Config is:

set $aws_access_key_dynamic "XXXXXXXXXXX";
aws_access_key aws_access_key_dynamic;

Are these variables supported or are we doing something wrong?

@elmarsto
Copy link

I ran into this too. It really gave me the butthurt. Lost 2h trying to figure out what was up, only to discover that vars are not supported on this module (no, really). I'm guessing that this is an architectural flaw with nginx.

@daimoniac
Copy link

Got the same problem. Can I help out with fixing this issue somehow?
Or have any of you found a way around that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants