Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iloveicedgreentea/vault-pemfx
This converts pfx certificates to PEM and uploads them to vault
https://github.com/iloveicedgreentea/vault-pemfx
Last synced: 29 days ago
JSON representation
This converts pfx certificates to PEM and uploads them to vault
- Host: GitHub
- URL: https://github.com/iloveicedgreentea/vault-pemfx
- Owner: iloveicedgreentea
- License: gpl-3.0
- Created: 2017-08-27T19:16:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T01:04:55.000Z (over 7 years ago)
- Last Synced: 2024-10-26T04:33:54.594Z (3 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vault-PEMfx
This converts pfx certificates to PEM and uploads them to Vault.
I wrote this while I was setting up Vault in production. I had to set up an Active Directory CA for various reasons so this tool made working with pfx certs much easier# Usage
pfxtopem.py -file "path/to/file.pfx" -password "password" -url "http(s)://x.x.x.x:port" -token "1234-1234-1234" -secretpath "subpath"If -url is set, it will automatically upload the secrets to the path of your choice.
The secretpath is the "subdirectory" for all secrets since Vault uses a flat file style api e.g. v1/secret/secretpath/secretname