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

PKI secret engine sign certificate endpoint #193

Closed
sj-lt opened this issue Jun 4, 2021 · 2 comments · Fixed by #192
Closed

PKI secret engine sign certificate endpoint #193

sj-lt opened this issue Jun 4, 2021 · 2 comments · Fixed by #192

Comments

@sj-lt
Copy link
Contributor

sj-lt commented Jun 4, 2021

Describe the feature request or question
Ability to use sign certificate endpoint of vault PKI secret engine.
Created a Pull request for it #192
Link to the Vault API Docs that support this feature
https://www.vaultproject.io/api/secret/pki#sign-certificate

Additional context

Console App output. Tested on vault 1.7.1

As file because of formatting
ProgramOutput.txt

#```` As text ```` ```` SealStatus ====================== From Vault Server: 200-OK {"type":"shamir","initialized":false,"sealed":true,"t":0,"n":0,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":false,"sealed":true,"t":0,"n":0,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

HealthStatus

From Vault Server: 501-NotImplemented
{"initialized":false,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1"}

{"initialized":false,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1","cluster_name":null,"cluster_id":null}

From Vault Server: 501-NotImplemented

HealthStatus

From Vault Server: 300-Ambiguous
{"initialized":false,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1"}

{"initialized":false,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1","cluster_name":null,"cluster_id":null}

HealthStatus

From Vault Server: 200-OK
{"initialized":false,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1"}

{"initialized":false,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1","cluster_name":null,"cluster_id":null}

MasterCredentials

From Vault Server: 200-OK
{"keys":["23d14f49d51e2edf060455d89b5ce0d54e80addd10ba74a3bbbe7948a088c66c0b","2673f1225cde8bd007e7195dd87c16f3c6b42140992726beafa0ca2a2bee4753ea","2deb348aa36ba345252c613d2fa81221914166d6620321b33652172e1df945f5fa","28b7d3e0d5709e3d700971e1052878482d43602d821644d54dd63b8efdecee80b9","d342c7fdcfe7d673302d278887556389a210acb4a456db96d499c9855509ddf7cb","5914a2913700c95ebcd3941a928183183e4ae79c019d30dc81ac229b3e5bd4a847","2de9c7d58303cb27d7aa600d6bef98d9574bf280b6bafbe92596c5dc79aab06a71","8cf1c50f5896a032fba883dcf0cb4cb834692d751a14224555b384d40be49fac76","563f7d40af44de39f2efe83875cb430dfbae040f58ab4e7e70f52ab5a4c680a874","11698d68ef1ea5dd38c43c211e34516bb055aafa645173cc14844dabe73d712e88"],"keys_base64":["I9FPSdUeLt8GBFXYm1zg1U6Ard0QunSju755SKCIxmwL","JnPxIlzei9AH5xld2HwW88a0IUCZJya+r6DKKivuR1Pq","Les0iqNro0UlLGE9L6gSIZFBZtZiAyGzNlIXLh35RfX6","KLfT4NVwnj1wCXHhBSh4SC1DYC2CFkTVTdY7jv3s7oC5","00LH/c/n1nMwLSeIh1VjiaIQrLSkVtuW1JnJhVUJ3ffL","WRSikTcAyV6805QakoGDGD5K55wBnTDcgawimz5b1KhH","LenH1YMDyyfXqmANa++Y2VdL8oC2uvvpJZbF3HmqsGpx","jPHFD1iWoDL7qIPc8MtMuDRpLXUaFCJFVbOE1Avkn6x2","Vj99QK9E3jny7+g4dctDDfuuBA9Yq05+cPUqtaTGgKh0","EWmNaO8epd04xDwhHjRRa7BVqvpkUXPMFIRNq+c9cS6I"],"root_token":"s.OySuR3zR5a6dxZFtRsKBdH3m"}

{"keys":["23d14f49d51e2edf060455d89b5ce0d54e80addd10ba74a3bbbe7948a088c66c0b","2673f1225cde8bd007e7195dd87c16f3c6b42140992726beafa0ca2a2bee4753ea","2deb348aa36ba345252c613d2fa81221914166d6620321b33652172e1df945f5fa","28b7d3e0d5709e3d700971e1052878482d43602d821644d54dd63b8efdecee80b9","d342c7fdcfe7d673302d278887556389a210acb4a456db96d499c9855509ddf7cb","5914a2913700c95ebcd3941a928183183e4ae79c019d30dc81ac229b3e5bd4a847","2de9c7d58303cb27d7aa600d6bef98d9574bf280b6bafbe92596c5dc79aab06a71","8cf1c50f5896a032fba883dcf0cb4cb834692d751a14224555b384d40be49fac76","563f7d40af44de39f2efe83875cb430dfbae040f58ab4e7e70f52ab5a4c680a874","11698d68ef1ea5dd38c43c211e34516bb055aafa645173cc14844dabe73d712e88"],"keys_base64":["I9FPSdUeLt8GBFXYm1zg1U6Ard0QunSju755SKCIxmwL","JnPxIlzei9AH5xld2HwW88a0IUCZJya+r6DKKivuR1Pq","Les0iqNro0UlLGE9L6gSIZFBZtZiAyGzNlIXLh35RfX6","KLfT4NVwnj1wCXHhBSh4SC1DYC2CFkTVTdY7jv3s7oC5","00LH/c/n1nMwLSeIh1VjiaIQrLSkVtuW1JnJhVUJ3ffL","WRSikTcAyV6805QakoGDGD5K55wBnTDcgawimz5b1KhH","LenH1YMDyyfXqmANa++Y2VdL8oC2uvvpJZbF3HmqsGpx","jPHFD1iWoDL7qIPc8MtMuDRpLXUaFCJFVbOE1Avkn6x2","Vj99QK9E3jny7+g4dctDDfuuBA9Yq05+cPUqtaTGgKh0","EWmNaO8epd04xDwhHjRRa7BVqvpkUXPMFIRNq+c9cS6I"],"root_token":"s.OySuR3zR5a6dxZFtRsKBdH3m"}

Boolean

From Vault Server: 200-OK
{"initialized":true}

true

HealthStatus

From Vault Server: 503-ServiceUnavailable
{"initialized":true,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1"}

{"initialized":true,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1","cluster_name":null,"cluster_id":null}

HealthStatus

From Vault Server: 404-NotFound
{"initialized":true,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1"}

{"initialized":true,"sealed":true,"standby":true,"performance_standby":false,"replication_performance_mode":"unknown","replication_dr_mode":"unknown","server_time_utc":1622821004,"version":"1.7.1","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":1,"nonce":"1a39e359-df53-cee7-6998-8075bf410267","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":1,"nonce":"1a39e359-df53-cee7-6998-8075bf410267","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":2,"nonce":"1a39e359-df53-cee7-6998-8075bf410267","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":2,"nonce":"1a39e359-df53-cee7-6998-8075bf410267","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":3,"nonce":"1a39e359-df53-cee7-6998-8075bf410267","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":3,"nonce":"1a39e359-df53-cee7-6998-8075bf410267","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":1,"nonce":"8b77e10d-6c14-dc32-4d40-db7c70589169","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":1,"nonce":"8b77e10d-6c14-dc32-4d40-db7c70589169","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":2,"nonce":"8b77e10d-6c14-dc32-4d40-db7c70589169","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":2,"nonce":"8b77e10d-6c14-dc32-4d40-db7c70589169","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":3,"nonce":"8b77e10d-6c14-dc32-4d40-db7c70589169","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":3,"nonce":"8b77e10d-6c14-dc32-4d40-db7c70589169","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":4,"nonce":"8b77e10d-6c14-dc32-4d40-db7c70589169","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":4,"nonce":"8b77e10d-6c14-dc32-4d40-db7c70589169","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":false,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923","recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":false,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923"}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":false,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923","recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":false,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923"}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":false,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923","recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":false,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923"}

HealthStatus

From Vault Server: 200-OK
{"initialized":true,"sealed":false,"standby":false,"performance_standby":false,"replication_performance_mode":"disabled","replication_dr_mode":"disabled","server_time_utc":1622821004,"version":"1.7.1","cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923"}

{"initialized":true,"sealed":false,"standby":false,"performance_standby":false,"replication_performance_mode":"disabled","replication_dr_mode":"disabled","server_time_utc":1622821004,"version":"1.7.1","cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923"}

HealthStatus

From Vault Server: 405-MethodNotAllowed
{"initialized":true,"sealed":false,"standby":false,"performance_standby":false,"replication_performance_mode":"disabled","replication_dr_mode":"disabled","server_time_utc":1622821004,"version":"1.7.1","cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923"}

{"initialized":true,"sealed":false,"standby":false,"performance_standby":false,"replication_performance_mode":"disabled","replication_dr_mode":"disabled","server_time_utc":1622821004,"version":"1.7.1","cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923"}

From Vault Server: 204-NoContent

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":true,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":null,"cluster_id":null}

SealStatus

From Vault Server: 200-OK
{"type":"shamir","initialized":true,"sealed":false,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923","recovery_seal":false,"storage_type":"file"}

{"type":"shamir","initialized":true,"sealed":false,"t":5,"n":10,"progress":0,"nonce":"","version":"1.7.1","migration":false,"recovery_seal":false,"storage_type":"file","cluster_name":"vault-cluster-3f2263c8","cluster_id":"866de32d-3a0f-5773-e6ac-bc665a443923"}

Secret<Dictionary<String, AbstractAuditBackend>>

From Vault Server: 200-OK
{"request_id":"a8cce062-ff13-978c-e64f-aa72cdffdaaf","lease_id":"","renewable":false,"lease_duration":0,"data":{},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"a8cce062-ff13-978c-e64f-aa72cdffdaaf","lease_id":"","renewable":false,"lease_duration":0,"data":{},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

Secret<Dictionary<String, AbstractAuditBackend>>

From Vault Server: 200-OK
{"file/":{"description":"store logs in a file - test cases","local":false,"options":{"format":"jsonx","hmac_accessor":"false","log_raw":"true","path":"/var/log/file"},"path":"file/","type":"file"},"file2/test/":{"description":"2 store logs in a file - test cases","local":false,"options":{"format":"jsonx","hmac_accessor":"false","log_raw":"true","path":"/var/log/file2"},"path":"file2/test/","type":"file"},"request_id":"4f771609-f83e-e32a-9fa0-99312b39a1ad","lease_id":"","renewable":false,"lease_duration":0,"data":{"file/":{"description":"store logs in a file - test cases","local":false,"options":{"format":"jsonx","hmac_accessor":"false","log_raw":"true","path":"/var/log/file"},"path":"file/","type":"file"},"file2/test/":{"description":"2 store logs in a file - test cases","local":false,"options":{"format":"jsonx","hmac_accessor":"false","log_raw":"true","path":"/var/log/file2"},"path":"file2/test/","type":"file"}},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"4f771609-f83e-e32a-9fa0-99312b39a1ad","lease_id":"","renewable":false,"lease_duration":0,"data":{"file/":{"type":"file","options":{"path":"/var/log/file","format":"jsonx","hmac_accessor":"false","log_raw":"true"},"path":"file/","description":"store logs in a file - test cases","local":false},"file2/test/":{"type":"file","options":{"path":"/var/log/file2","format":"jsonx","hmac_accessor":"false","log_raw":"true"},"path":"file2/test/","description":"2 store logs in a file - test cases","local":false}},"wrap_info":null,"warnings":null,"auth":null}

Secret

From Vault Server: 200-OK
{"hash":"hmac-sha256:3d946f1d687ff2b37a110fdb4de58edaf25c94f89d90d3ba47341a9e0ab3ed8e","request_id":"fb66d10b-29f0-9572-c32e-daa26263aa2a","lease_id":"","renewable":false,"lease_duration":0,"data":{"hash":"hmac-sha256:3d946f1d687ff2b37a110fdb4de58edaf25c94f89d90d3ba47341a9e0ab3ed8e"},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"fb66d10b-29f0-9572-c32e-daa26263aa2a","lease_id":"","renewable":false,"lease_duration":0,"data":{"hash":"hmac-sha256:3d946f1d687ff2b37a110fdb4de58edaf25c94f89d90d3ba47341a9e0ab3ed8e"},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

Secret<Dictionary<String, AuthMethod>>

From Vault Server: 200-OK
{"token/":{"accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","external_entropy_access":false,"local":false,"options":null,"seal_wrap":false,"type":"token","uuid":"1baf3952-fde3-7035-0d11-e5a292a2e969"},"request_id":"d7e66d39-8639-54b6-8568-4965513dca28","lease_id":"","renewable":false,"lease_duration":0,"data":{"token/":{"accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","external_entropy_access":false,"local":false,"options":null,"seal_wrap":false,"type":"token","uuid":"1baf3952-fde3-7035-0d11-e5a292a2e969"}},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"d7e66d39-8639-54b6-8568-4965513dca28","lease_id":"","renewable":false,"lease_duration":0,"data":{"token/":{"type":"token","accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","local":false,"seal_wrap":false,"plugin_name":null,"options":null}},"wrap_info":null,"warnings":null,"auth":null}

Secret

From Vault Server: 200-OK
{"force_no_cache":false,"token_type":"default-service","description":"token based credentials","default_lease_ttl":2764800,"max_lease_ttl":2764800,"request_id":"d704a177-5376-2c89-b593-a2f5e94f7a2d","lease_id":"","renewable":false,"lease_duration":0,"data":{"default_lease_ttl":2764800,"description":"token based credentials","force_no_cache":false,"max_lease_ttl":2764800,"token_type":"default-service"},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"d704a177-5376-2c89-b593-a2f5e94f7a2d","lease_id":"","renewable":false,"lease_duration":0,"data":{"default_lease_ttl":2764800,"force_no_cache":false,"max_lease_ttl":2764800,"token_type":"default-service","description":"token based credentials","plugin_name":null},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

Secret

From Vault Server: 200-OK
{"token_type":"default-service","description":"Github auth - test cases","default_lease_ttl":2764800,"max_lease_ttl":2764800,"force_no_cache":false,"request_id":"1ba079d2-ea68-f54e-fc65-9587f3819785","lease_id":"","renewable":false,"lease_duration":0,"data":{"default_lease_ttl":2764800,"description":"Github auth - test cases","force_no_cache":false,"max_lease_ttl":2764800,"token_type":"default-service"},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"1ba079d2-ea68-f54e-fc65-9587f3819785","lease_id":"","renewable":false,"lease_duration":0,"data":{"default_lease_ttl":2764800,"force_no_cache":false,"max_lease_ttl":2764800,"token_type":"default-service","description":"Github auth - test cases","plugin_name":null},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

Secret

From Vault Server: 200-OK
{"force_no_cache":false,"token_type":"default-service","description":"","default_lease_ttl":3600,"max_lease_ttl":4200,"request_id":"a8e176c2-582f-4622-3903-4855deebff73","lease_id":"","renewable":false,"lease_duration":0,"data":{"default_lease_ttl":3600,"description":"","force_no_cache":false,"max_lease_ttl":4200,"token_type":"default-service"},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"a8e176c2-582f-4622-3903-4855deebff73","lease_id":"","renewable":false,"lease_duration":0,"data":{"default_lease_ttl":3600,"force_no_cache":false,"max_lease_ttl":4200,"token_type":"default-service","description":"","plugin_name":null},"wrap_info":null,"warnings":null,"auth":null}

Secret<Dictionary<String, AuthMethod>>

From Vault Server: 200-OK
{"github1/":{"accessor":"auth_github_051cbc02","config":{"default_lease_ttl":3600,"force_no_cache":false,"max_lease_ttl":4200,"token_type":"default-service"},"description":"","external_entropy_access":false,"local":false,"options":null,"seal_wrap":false,"type":"github","uuid":"737e0058-d005-7a09-3f31-366f3574930f"},"token/":{"accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","external_entropy_access":false,"local":false,"options":null,"seal_wrap":false,"type":"token","uuid":"1baf3952-fde3-7035-0d11-e5a292a2e969"},"request_id":"e470195c-ecd6-9ab7-6371-1bfaa175dab7","lease_id":"","renewable":false,"lease_duration":0,"data":{"github1/":{"accessor":"auth_github_051cbc02","config":{"default_lease_ttl":3600,"force_no_cache":false,"max_lease_ttl":4200,"token_type":"default-service"},"description":"","external_entropy_access":false,"local":false,"options":null,"seal_wrap":false,"type":"github","uuid":"737e0058-d005-7a09-3f31-366f3574930f"},"token/":{"accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","external_entropy_access":false,"local":false,"options":null,"seal_wrap":false,"type":"token","uuid":"1baf3952-fde3-7035-0d11-e5a292a2e969"}},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"e470195c-ecd6-9ab7-6371-1bfaa175dab7","lease_id":"","renewable":false,"lease_duration":0,"data":{"github1/":{"type":"github","accessor":"auth_github_051cbc02","config":{"default_lease_ttl":3600,"force_no_cache":false,"max_lease_ttl":4200,"token_type":"default-service"},"description":"","local":false,"seal_wrap":false,"plugin_name":null,"options":null},"token/":{"type":"token","accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","local":false,"seal_wrap":false,"plugin_name":null,"options":null}},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

Secret<Dictionary<String, AuthMethod>>

From Vault Server: 200-OK
{"token/":{"accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","external_entropy_access":false,"local":false,"options":null,"seal_wrap":false,"type":"token","uuid":"1baf3952-fde3-7035-0d11-e5a292a2e969"},"request_id":"a88acadf-b8ce-5d0e-846c-fb3a313b9625","lease_id":"","renewable":false,"lease_duration":0,"data":{"token/":{"accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","external_entropy_access":false,"local":false,"options":null,"seal_wrap":false,"type":"token","uuid":"1baf3952-fde3-7035-0d11-e5a292a2e969"}},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"a88acadf-b8ce-5d0e-846c-fb3a313b9625","lease_id":"","renewable":false,"lease_duration":0,"data":{"token/":{"type":"token","accessor":"auth_token_72f460ae","config":{"default_lease_ttl":0,"force_no_cache":false,"max_lease_ttl":0,"token_type":"default-service"},"description":"token based credentials","local":false,"seal_wrap":false,"plugin_name":null,"options":null}},"wrap_info":null,"warnings":null,"auth":null}

Secret

From Vault Server: 200-OK
{"v1/sys":["root"],"capabilities":["root"],"request_id":"7467ff20-ef68-5762-0c82-478168bf2e8e","lease_id":"","renewable":false,"lease_duration":0,"data":{"capabilities":["root"],"v1/sys":["root"]},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"7467ff20-ef68-5762-0c82-478168bf2e8e","lease_id":"","renewable":false,"lease_duration":0,"data":{"capabilities":["root"],"v1/sys":["root"]},"wrap_info":null,"warnings":null,"auth":null}

Secret

From Vault Server: 200-OK
{"v1/sys":["root"],"capabilities":["root"],"request_id":"f606e1f6-f9cc-3d92-04db-c63b73750fd2","lease_id":"","renewable":false,"lease_duration":0,"data":{"capabilities":["root"],"v1/sys":["root"]},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"f606e1f6-f9cc-3d92-04db-c63b73750fd2","lease_id":"","renewable":false,"lease_duration":0,"data":{"capabilities":["root"],"v1/sys":["root"]},"wrap_info":null,"warnings":null,"auth":null}

Secret

From Vault Server: 200-OK
{"headers":{},"request_id":"d151c207-a7a1-1249-3fca-46b7b83dfedc","lease_id":"","renewable":false,"lease_duration":0,"data":{"headers":{}},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"d151c207-a7a1-1249-3fca-46b7b83dfedc","lease_id":"","renewable":false,"lease_duration":0,"data":{"headers":[]},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

Secret

From Vault Server: 200-OK
{"headers":{"x-forwarded-for":{"hmac":true},"x-requestid":{"hmac":false}},"request_id":"9750259c-8b78-59e6-f7a4-ed9da78d65fe","lease_id":"","renewable":false,"lease_duration":0,"data":{"headers":{"x-forwarded-for":{"hmac":true},"x-requestid":{"hmac":false}}},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"9750259c-8b78-59e6-f7a4-ed9da78d65fe","lease_id":"","renewable":false,"lease_duration":0,"data":{"headers":[{"name":"x-forwarded-for","hmac":true},{"name":"x-requestid","hmac":false}]},"wrap_info":null,"warnings":null,"auth":null}

Secret

From Vault Server: 200-OK
{"x-forwarded-for":{"hmac":true},"request_id":"c3d8ee44-ad1a-58b6-3fe4-233db8ff86c5","lease_id":"","renewable":false,"lease_duration":0,"data":{"x-forwarded-for":{"hmac":true}},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"c3d8ee44-ad1a-58b6-3fe4-233db8ff86c5","lease_id":"","renewable":false,"lease_duration":0,"data":{"name":"x-forwarded-for","hmac":true},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

Secret

From Vault Server: 200-OK
{"enabled":false,"request_id":"7fd03476-b3d3-f598-ee69-638a7c3c9be1","lease_id":"","renewable":false,"lease_duration":0,"data":{"enabled":false},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"7fd03476-b3d3-f598-ee69-638a7c3c9be1","lease_id":"","renewable":false,"lease_duration":0,"data":{"enabled":false,"allowed_origins":null,"allowed_headers":null},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

Secret

From Vault Server: 200-OK
{"enabled":true,"allowed_origins":["https://origin1","https://origin2"],"allowed_headers":["Content-Type","X-Requested-With","X-Vault-AWS-IAM-Server-ID","X-Vault-MFA","X-Vault-No-Request-Forwarding","X-Vault-Wrap-Format","X-Vault-Wrap-TTL","X-Vault-Policy-Override","Authorization","X-Vault-Token","header1","header2"],"request_id":"0becaaa9-b555-955d-cfe7-dfe6da9be947","lease_id":"","renewable":false,"lease_duration":0,"data":{"allowed_headers":["Content-Type","X-Requested-With","X-Vault-AWS-IAM-Server-ID","X-Vault-MFA","X-Vault-No-Request-Forwarding","X-Vault-Wrap-Format","X-Vault-Wrap-TTL","X-Vault-Policy-Override","Authorization","X-Vault-Token","header1","header2"],"allowed_origins":["https://origin1","https://origin2"],"enabled":true},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"0becaaa9-b555-955d-cfe7-dfe6da9be947","lease_id":"","renewable":false,"lease_duration":0,"data":{"enabled":true,"allowed_origins":["https://origin1","https://origin2"],"allowed_headers":["Content-Type","X-Requested-With","X-Vault-AWS-IAM-Server-ID","X-Vault-MFA","X-Vault-No-Request-Forwarding","X-Vault-Wrap-Format","X-Vault-Wrap-TTL","X-Vault-Policy-Override","Authorization","X-Vault-Token","header1","header2"]},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

Secret

From Vault Server: 200-OK
{"enabled":false,"request_id":"14ef5e65-caab-6c83-2358-d873827399fd","lease_id":"","renewable":false,"lease_duration":0,"data":{"enabled":false},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"14ef5e65-caab-6c83-2358-d873827399fd","lease_id":"","renewable":false,"lease_duration":0,"data":{"enabled":false,"allowed_origins":null,"allowed_headers":null},"wrap_info":null,"warnings":null,"auth":null}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"","started":false,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":26}

{"nonce":"","started":false,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":26}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"aoSk6SWsL1duluH8LhDkAtcMSt","otp_length":26}

{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"aoSk6SWsL1duluH8LhDkAtcMSt","otp_length":26}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":1,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":1,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":2,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":2,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":3,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":3,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":4,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":4,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":5,"required":5,"complete":true,"encoded_token":"EkE4MX5jFDUEXFM4ISEjbwgLPjogQVseMUc","encoded_root_token":"EkE4MX5jFDUEXFM4ISEjbwgLPjogQVseMUc","pgp_fingerprint":"","otp":"","otp_length":0}

{"nonce":"c3da0a5c-04bd-22f4-7dcc-f12717e64564","started":true,"progress":5,"required":5,"complete":true,"encoded_token":"EkE4MX5jFDUEXFM4ISEjbwgLPjogQVseMUc","encoded_root_token":"EkE4MX5jFDUEXFM4ISEjbwgLPjogQVseMUc","pgp_fingerprint":"","otp":"","otp_length":0}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"5362606b-01fe-6e24-427e-630b9827becf","started":true,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"fgH1eQL4S1vx7493vLU7znC1CM","otp_length":26}

{"nonce":"5362606b-01fe-6e24-427e-630b9827becf","started":true,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"fgH1eQL4S1vx7493vLU7znC1CM","otp_length":26}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"5362606b-01fe-6e24-427e-630b9827becf","started":true,"progress":1,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

{"nonce":"5362606b-01fe-6e24-427e-630b9827becf","started":true,"progress":1,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":0}

From Vault Server: 204-NoContent

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"","started":false,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":26}

{"nonce":"","started":false,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"","otp_length":26}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"cabb96c1-ed40-df6b-24e1-c0dabc8abcef","started":true,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"RVCnUV2fR6oijsq1ti4slI2c6F","otp_length":26}

{"nonce":"cabb96c1-ed40-df6b-24e1-c0dabc8abcef","started":true,"progress":0,"required":5,"complete":false,"encoded_token":"","encoded_root_token":"","pgp_fingerprint":"","otp":"RVCnUV2fR6oijsq1ti4slI2c6F","otp_length":26}

RootTokenGenerationStatus

From Vault Server: 200-OK
{"nonce":"cabb96c1-ed40-df6b-24e1-c0dabc8abcef","started":true,"progress":5,"required":5,"complete":true,"encoded_token":"IXh7WD0PSCkgVVwzPkoHaCVaZxY2egdUWwk","encoded_root_token":"IXh7WD0PSCkgVVwzPkoHaCVaZxY2egdUWwk","pgp_fingerprint":"","otp":"","otp_length":0}

{"nonce":"cabb96c1-ed40-df6b-24e1-c0dabc8abcef","started":true,"progress":5,"required":5,"complete":true,"encoded_token":"IXh7WD0PSCkgVVwzPkoHaCVaZxY2egdUWwk","encoded_root_token":"IXh7WD0PSCkgVVwzPkoHaCVaZxY2egdUWwk","pgp_fingerprint":"","otp":"","otp_length":0}

Secret

From Vault Server: 200-OK
{"term":1,"install_time":"2021-06-04T17:36:44.132163556+02:00","encryptions":48,"request_id":"cd77e695-14c9-5b0c-0d38-2efcff750bdf","lease_id":"","renewable":false,"lease_duration":0,"data":{"encryptions":48,"install_time":"2021-06-04T17:36:44.132163556+02:00","term":1},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"cd77e695-14c9-5b0c-0d38-2efcff750bdf","lease_id":"","renewable":false,"lease_duration":0,"data":{"install_time":"2021-06-04T17:36:44.1321636+02:00","term":1},"wrap_info":null,"warnings":null,"auth":null}

Leader

From Vault Server: 200-OK
{"ha_enabled":false,"is_self":false,"active_time":"0001-01-01T00:00:00Z","leader_address":"","leader_cluster_address":"","performance_standby":false,"performance_standby_last_remote_wal":0}

{"ha_enabled":false,"is_self":false,"active_time":"0001-01-01T00:00:00+00:00","leader_address":"","leader_cluster_address":"","performance_standby":false,"performance_standby_last_remote_wal":0,"last_wal":0,"raft_committed_index":0,"raft_applied_index":0}

Secret

From Vault Server: 200-OK
{"request_id":"c69eb8e5-11ce-848b-0407-92296b41f94e","lease_id":"","renewable":false,"lease_duration":0,"data":{"accessor":"wATFDEbxppsRgbLUg8fnbBqX","creation_time":1622821004,"creation_ttl":0,"display_name":"root","entity_id":"","expire_time":null,"explicit_max_ttl":0,"id":"s.OySuR3zR5a6dxZFtRsKBdH3m","meta":null,"num_uses":0,"orphan":true,"path":"auth/token/root","policies":["root"],"ttl":0,"type":"service"},"wrap_info":null,"warnings":null,"auth":null}

{"request_id":"c69eb8e5-11ce-848b-0407-92296b41f94e","lease_id":"","renewable":false,"lease_duration":0,"data":{"accessor":"wATFDEbxppsRgbLUg8fnbBqX","explicit_max_ttl":0,"renewable":false,"creation_time":1622821004,"creation_ttl":0,"orphan":true,"ttl":0,"type":"service","id":"s.OySuR3zR5a6dxZFtRsKBdH3m","policies":["root"],"meta":null,"path":"auth/token/root","display_name":"root","num_uses":0,"entity_id":"","expire_time":null,"identity_policies":null,"issue_time":null},"wrap_info":null,"warnings":null,"auth":null}

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

From Vault Server: 204-NoContent

</details>
@rajanadar
Copy link
Owner

fixed by #192

@rajanadar
Copy link
Owner

@slutkiewicz Your fix is published:

https://www.nuget.org/packages/VaultSharp/1.6.2.3

@rajanadar rajanadar linked a pull request Jun 6, 2021 that will close this issue
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 a pull request may close this issue.

2 participants