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

Adding transit logical backend #12

Merged
merged 1 commit into from Apr 16, 2015
Merged

Adding transit logical backend #12

merged 1 commit into from Apr 16, 2015

Conversation

armon
Copy link
Member

@armon armon commented Apr 16, 2015

This adds the "transit" logical (secret) backend. It is used for encryption and decryption of values in transit, and does not actually store the values. It is used by creating a named policy, such as "oauth" by writing to "policy/oauth". This creates a named encryption key (currently defaults to 256bit AES-GCM).

Clients can then use the "encrypt/oauth" and "decrypt/oauth" endpoints to encrypt and decrypt data respectively.

The use case for this is to allow Vault to manage the encryption keys, but allow clients to perform cryptographic operations. For example, web servers can encrypt oauth tokens and store the cipher text in a database. When the token is needed, it flows through Vault to be decrypted and then used. This means the web servers never have access to the encryption key, the plaintext oauth token is only available in transit (hence the name), but is stored encrypted at rest.

armon added a commit that referenced this pull request Apr 16, 2015
Adding transit logical backend
@armon armon merged commit 3db5b14 into master Apr 16, 2015
@armon armon deleted the f-transit branch April 16, 2015 00:14
@sethvargo
Copy link
Contributor

❤️ Do you think we should add docs/usage for this to the website? I think this is a really strong use-case for Vault that people will just "get", you know?

@mitchellh
Copy link
Contributor

@sethvargo Of course we will :) The docs are still mostly not done.

jeffwecan added a commit to jeffwecan/vault that referenced this pull request Nov 7, 2018
[SRE-1267] Peer Zabbix VPC to Vault for monitoring, etc.
briankassouf pushed a commit that referenced this pull request Aug 24, 2020
Bring over PSIRT-37 changes from ENT to 1.4.x
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.

None yet

3 participants