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

sia: set service cert and key in role option #2558

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

chandrasekhar1996
Copy link
Contributor

Description

When the generateRoleKey is set to false then the expectation is RoleKeyFileName will be empty and we should use SvcKeyFileName to get the key to be used with role certificate, but svcKeyFileName is set only when user provides a key file name for svc in their config

The update is to set the svcKeyFileName and svcCertFileName using the util function to ensure the value is always populated

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Attach Screenshots (Optional)

Signed-off-by: craman <chandrasekhar.raman@yahooinc.com>
@havetisyan havetisyan merged commit 66d4a26 into AthenZ:master Mar 14, 2024
2 checks passed
@chandrasekhar1996 chandrasekhar1996 deleted the optionRole branch March 14, 2024 21:52
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

Successfully merging this pull request may close these issues.

2 participants