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

Support .env vars in annotations #149

Open
arobsco opened this issue Jul 17, 2023 · 1 comment
Open

Support .env vars in annotations #149

arobsco opened this issue Jul 17, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@arobsco
Copy link

arobsco commented Jul 17, 2023

Per Whisk documentation (https://github.com/apache/openwhisk/blob/master/docs/annotations.md#annotations-specific-to-web-actions) and Adobe documentation (https://developer.adobe.com/runtime/docs/guides/using/securing_web_actions/) OpenWhisk has the ability to secure a web action behind a specified header value. When the header value is placed in the .env file the expectation is that the require-whisk-auth variable will be populated with the environment variable value however this is not happening

Expected Behaviour

require-whisk-auth value is that of the specified .env variable

Actual Behaviour

$auth_hash is not replaced with the actual value so the require-whisk-auth variable ends up having a value of '$auth_hash'
image

Reproduce Scenario (including but not limited to)

Within a web action annotations add value
require-whisk-auth: $auth_hash

Within .env add auth_hash=my_value

Platform and Version

Latest

@shazron shazron added the enhancement New feature or request label Aug 16, 2023
@aiojbot
Copy link
Collaborator

aiojbot commented Aug 16, 2023

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2483

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

No branches or pull requests

3 participants