Listing Keys
List keys in a specific Vault
.
List Keys
GET
https://vault.provide.services/api/v1/vaults/:id/keys
Returns a list of keys in a specified
Vault
Path Parameters
Name
Type
Description
id
string
id of host
Vault
containing the desired keys
Headers
Name
Type
Description
authorization
string
bearer scoped to an
Application
,
Organization
or
User
[
{
"id": "ee745730-a804-482b-ae36-d6b80d61d4d7",
"created_at": "2021-08-17T01:41:48.792826Z",
"vault_id": "5fd0ad08-ccc5-4c76-a8a5-0de66fa4efd2",
"type": "symmetric",
"usage": "encrypt/decrypt",
"spec": "AES-256-GCM",
"name": "master0",
"description": "AES-256-GCM master key for vault 5fd0ad08-ccc5-4c76-a8a5-0de66fa4efd2"
},
{
"id": "f18aa69c-4f4c-4cd0-a0f1-c65375f4486f",
"created_at": "2021-08-17T01:42:00.424679Z",
"vault_id": "5fd0ad08-ccc5-4c76-a8a5-0de66fa4efd2",
"type": "symmetric",
"usage": "encrypt/decrypt",
"spec": "ChaCha20",
"name": "private chat",
"description": "this is a secure channel"
}
]
curl -i \
-H 'Authorization: bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjEwOjJlOmQ5OmUxOmI4OmEyOjM0OjM3Ojk5OjNhOjI0OmZjOmFhOmQxOmM4OjU5IiwidHlwIjoiSldUIn0.eyJhdWQiOiJodHRwczovL3Byb3ZpZGUuc2VydmljZXMvYXBpL3YxIiwiZXhwIjoxNTk5ODM1ODEzLCJpYXQiOjE1OTk3NDk0MTMsImlzcyI6Imh0dHBzOi8vaWRlbnQucHJvdmlkZS5zZXJ2aWNlcyIsImp0aSI6IjUzMDFhZjAwLTEyNjMtNGMxNC04Mjc0LTI2NWYzOTNlZDJiNSIsIm5hdHMiOnsicGVybWlzc2lvbnMiOnsic3Vic2NyaWJlIjp7ImFsbG93IjpbInVzZXIuNGM1ZDI5NjktYTQwYy00ZjZkLWFhMDItMjEzNTVmM2M5MDkxIiwibmV0d29yay4qLmNvbm5lY3Rvci4qIiwibmV0d29yay4qLnN0YXR1cyIsInBsYXRmb3JtLlx1MDAzZSJdfX19LCJwcnZkIjp7InBlcm1pc3Npb25zIjo3NTUzLCJ1c2VyX2lkIjoiNGM1ZDI5NjktYTQwYy00ZjZkLWFhMDItMjEzNTVmM2M5MDkxIn0sInN1YiI6InVzZXI6NGM1ZDI5NjktYTQwYy00ZjZkLWFhMDItMjEzNTVmM2M5MDkxIn0.fJL7wi5IfZdIZBoTXX0hFDBJuMtfU2Ub03oc0x7lD75MY9JSJ4DRdLCjiBK0DdYAv2D-V3erq9BtuooTkhUEsTAqciBhoxBygFAwvhnlxbdG_L_Fl9IyLQDow7LV7WY5odS4p1h8OAH_mpwfABDsc50uRLeJKtsWsOWzgahciIZgXGJrx-ogX-vEOrLHonytVcNZmWIeRDswO_SoZyc9Msx_Ywt6bMxVSC1ZS8t-5Spq-_xZqbGTDiM6MS0fAEsUidPZRPuZiXn473jj_dqkPbXt8pYHt4H9tdsMRGrFZbMRVxB-ebXeRhgIuTXrxrAmq6oLpw_WZ7pTrODVCeLqkRflkFculO3U1f8izsizXIX41goejOHECuE-VNXKGTr-dtOaDIlXzeejzuO-k4OjP7S2UFl98sNtj_eRjKLh4QTjd4HrPIpwjPUubA-tog76g1edeCHFkKUQzg3HGu1Lh-11tUXJeabdliRCeTrHTCAToAGUrLnihuTZRk7c9-ONeAbeKGALsciZIKMgDM-_wCQLdLbjokw_FlGiWhedp9xqFJJDpkenxElPfOesnmFaHqzAa_eFQuiC7wgdaeb06LdFOV3YmfQkmCHLdxGkRmz1mvjQZnmyoqwmKOBc8vVF9LScH6IsHn0gHn7vWUPnf2HGj3KUWevuoFmi7_2VlsA' \
https://vault.provide.services/api/v1/vaults/730afe0f-a62d-48e0-9d67-1e07c118fbf8/keys
HTTP/2 200
Response JSON:
[
{
"id":"191072d0-879e-486a-b9b5-dec93df4b9b6",
"created_at":"2020-09-10T15:19:00.902559Z",
"vault_id":"730afe0f-a62d-48e0-9d67-1e07c118fbf8",
"type":"symmetric",
"usage":"encrypt/decrypt",
"spec":"AES-256-GCM",
"name":"master0",
"description":"AES-256-GCM master key for vault 730afe0f-a62d-48e0-9d67-1e07c118fbf8"
},
{
"id":"2398119f-168f-426f-be9c-918cc50559c0",
"created_at":"2020-09-10T15:56:52.320168Z",
"vault_id":"730afe0f-a62d-48e0-9d67-1e07c118fbf8",
"type":"asymmetric",
"usage":"sign/verify",
"spec":"secp256k1",
"name":"org mainnet wallet",
"description":"organization eth/stablecoin wallet",
"address":"0x6C16BD5D5eeb9cACAE67EE0aF17e944aa480bB48",
"public_key":"0x0471227e157cd146e521fa38d15133d7990e3e0e6878d710223b61e53340832b34c362f88b82dc4402636912aba9e33ba727576db812a28369934d35dcb9bd52b8"
},
{
"id":"9975e23f-b445-4349-a09f-dbbb4e8850c2",
"created_at":"2020-09-10T16:23:56.451944Z",
"vault_id":"730afe0f-a62d-48e0-9d67-1e07c118fbf8",
"type":"symmetric",
"usage":"encrypt/decrypt",
"spec":"AES-256-GCM",
"name":"encryption key #1",
"description":"AES encryption key"
},
{
"id":"7516c402-5de0-4c24-8eba-2749430ac632",
"created_at":"2020-09-10T16:28:21.638689Z",
"vault_id":"730afe0f-a62d-48e0-9d67-1e07c118fbf8",
"type":"symmetric",
"usage":"encrypt/decrypt",
"spec":"ChaCha20",
"name":"encryption key #2",
"description":"chacha20 encryption key"
},
{
"id":"3f005518-d74c-4154-8346-6c51195bbef3",
"created_at":"2020-09-10T16:32:09.486959Z",
"vault_id":"730afe0f-a62d-48e0-9d67-1e07c118fbf8",
"type":"asymmetric",
"usage":"sign/verify",
"spec":"babyJubJub",
"name":"babyjubjub key #1",
"description":"babyjubjub key",
"public_key":"0x231d87f42ed7ce96297bee6183c9b5bfd759c86badcc7b62444d8d0359f1ce87"
},
{
"id":"91ef6ce7-529a-4e39-9f91-36302e081da1",
"created_at":"2020-09-10T16:34:12.28757Z",
"vault_id":"730afe0f-a62d-48e0-9d67-1e07c118fbf8",
"type":"asymmetric",
"usage":"sign/verify",
"spec":"C25519",
"name":"c25519 key #1",
"description":"c25519 key",
"public_key":"0xdfd719d00fdcb495da7a7b6c01f9513d96690e2b43385d2866c8cf59d94bf320"
},
{
"id":"80bdefb9-18a3-48a6-a484-f0cc09482972",
"created_at":"2020-09-10T16:37:04.270478Z",
"vault_id":"730afe0f-a62d-48e0-9d67-1e07c118fbf8",
"type":"asymmetric",
"usage":"sign/verify",
"spec":"Ed25519",
"name":"Ed25519 key #1",
"description":"ekho signing key",
"public_key":"0x534256355553375546504f46475645413357574f5a52494b52435a4a5351564237433549554352465834374356574a52584b473658484245"
},
{
"id":"e9c51e8a-2464-4749-b2a0-0b29a6d572c3",
"created_at":"2020-09-10T16:44:32.394427Z",
"vault_id":"730afe0f-a62d-48e0-9d67-1e07c118fbf8",
"type":"asymmetric",
"usage":"sign/verify",
"spec":"RSA-2048",
"name":"rsa key #1",
"description":"JWT Signing Key #1",
"public_key":"0x7b224e223a32353534363534303733303330333431303338373834393236303235363135353936393833343337383339343238363534333137333434343333313133353538373433393633303635363636363931303839323331383434343433383937393538323131373833373135373331343538353234373434373930363532333437333633333534383531313436353830333233383230363935383437343939383136303230373439323530313134313434353935353536303136393232393736333038353434333038393830323736393138353933373236323035383735393935303931393137373130393634353433373535393632373039393138343236383537353937363735313337353030363837373739333030393137353334383839373132373435353438383831323735363333333735353437373136363435333136363233393037323432373632363732343333363533313932393030343133353033323430313134363033383930313635303234363334313831303738343138383730343739393636363033323334313736373931333434303731323136383839313935343936373233303931393438323130323139373934393332323930373938343532303734353130333032393932343931303737343232323138383339333133323433303933393036383535333130313132373538373438343539373937383535363633393732313438363134353831353237333531353130333737363030363639363131343930313838353133333538323731313739383434353032303236313334313439303538303533393036313031333737393630353137393536393236343130383134372c2245223a36353533377d"
}
]
Last updated