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

jwt change #69

Merged
merged 12 commits into from
Jun 5, 2024
Merged

jwt change #69

merged 12 commits into from
Jun 5, 2024

Conversation

JasonTheMain
Copy link
Contributor

Changes proposed in this pull request:

  • Add new blob and JWT support

Security considerations

None

@JasonTheMain JasonTheMain requested a review from a team as a code owner June 5, 2024 15:20
export UAA_JWKS=<%= p('opensearch-dashboards-cf-auth-proxy.uaa.jwks') %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does the p() call here quote the property, too?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's the raw value. We could examine the contents of this file in the deployed VMs to be sure

Copy link
Contributor Author

@JasonTheMain JasonTheMain Jun 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it by putting a credhub value similar in dev
(dev wouldn't take ''' just stored ')
It gets rid of the ' it seems like but once i put it in the vm it works fine. so just need it to quote it

Copy link
Contributor

@bengerman13 bengerman13 Jun 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

credhub will store the quotes if you work around bash eating them:
credhub set ... -v "'"'{"keys": [...]}'}'"'"
(but this solution is good, too)

@JasonTheMain JasonTheMain merged commit 8f19f63 into main Jun 5, 2024
@JasonTheMain JasonTheMain deleted the jwt branch June 5, 2024 18:31
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.

3 participants