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

Should etnservice support credential caching? #52

Open
2 tasks
PietrH opened this issue Oct 22, 2024 · 0 comments
Open
2 tasks

Should etnservice support credential caching? #52

PietrH opened this issue Oct 22, 2024 · 0 comments
Labels
question Further information is requested

Comments

@PietrH
Copy link
Member

PietrH commented Oct 22, 2024

Every OpenCPU session should have it's own R Session/Instance, thus caching credentials within a session does little harm.

However, credentials should be passed with every request from the client, thus there is little advantage in caching the credentials object.

Currently the function get_credentials() fetches credentials from the Sys env.

  • Where is this function used?
  • Should it be removed?
@PietrH PietrH added the question Further information is requested label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant