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

Add read/write support for service tokens and update CRUD examples in docs to use service tokens #411

Merged
merged 5 commits into from
Mar 7, 2023

Conversation

dangtony98
Copy link
Collaborator

Description 📣

This PR does a few things:

  • Add read/write support for service tokens; this means that service tokens can now be included in Authorization headers for CRUD secret operations (minus the batch operation since that one will require more future refactoring).
  • Re-write documentation to use service tokens to deal with CRUD secret operations. The previous approach with API keys and self-decryption of private keys was cumbersome and prone to error for users; service tokens simplify dealing with CRUD secret operations because the service token itself carries a client-side generated key to encrypt/decrypt its copy of the project (vault) key.

Type ✨

@dangtony98 dangtony98 merged commit 4edfc1e into main Mar 7, 2023
@dangtony98 dangtony98 deleted the revised-service-token-docs branch March 7, 2023 08:42
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.

1 participant