-
Notifications
You must be signed in to change notification settings - Fork 105
Add Azure CLI example for package with protected files #1012
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
base: main
Are you sure you want to change the base?
Conversation
✅ All required contributors have signed the F5 CLA for this PR. Thank you! |
content/nginxaas-azure/getting-started/nginx-configuration/nginx-configuration-azure-cli.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Jon Torre <[email protected]>
I have hereby read the F5 CLA and agree to its terms |
Y/8vCyctaONln4WT/hdeD9eB//xkQQgghhBBCCCGEEEIIIYQQQggh5FX6CfCArk8AKAAA' | ||
--protected-files '[ | ||
{ | ||
"content":"c2VjcmV0X2NvbmZpZ3VyYXRpb25fZGF0YQ==", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need the content here, or are these files already in the package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right! When using --package
, the files are already included in the package data, so we don't need to duplicate the content in --protected-files
.
InZyilhs/ayvJgGvnChTraHLDuyHD/eW0Zq1c3RYOuqFCUfuUz3Tg4rPznpH/wy/AchRx \ | ||
+mMGhxVo7LERZ2p1fmrWl4akxt29K17wRTQPtC3ccRR1D/ijpqmJe4fx698L8ZS3M91m \ | ||
Y/8vCyctaONln4WT/hdeD9eB//xkQQgghhBBCCCGEEEIIIYQQQggh5FX6CfCArk8AKAAA' | ||
--protected-files '["/etc/nginx/ssl/certificates.conf", "/etc/nginx/ssl/private.key"]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rishabh-f5 - did you try running this command and validate if it works? Based on an internal thread, I believe this won't. --protected-files
input doesn't work with --package
but we still have the ability to specify protected files as part of the json array with key protectedFiles
. Please make sure that you test out the command and verify that the files listed as protected are indeed protected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand; the screenshot seems to be an unrelated az nginx deployment
example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ryepup i have tested azure-cli cmd screen shot i have pasted here
Proposed changes
Checklist
Before sharing this pull request, I completed the following checklist:
Footnotes
Potentially sensitive information includes personally identify information (PII), authentication credentials, and live URLs. Refer to the style guide for guidance about placeholder content. ↩