vault-ui
vault-ui copied to clipboard
/unwrap rendering in json possible?
When I wrap a secret I get this url:
http://10.147.3.69:8000/unwrap?token=7d160ab0-c352-2574-a5bd-829f8ba0ea5a&vaultUrl=https://vault:8200
I try to curl this url (NO BROWSER HERE) and I get this:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vault-UI</title>
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600" rel="stylesheet">
<link href="/dist/styles.css" rel="stylesheet">
<link rel="shortcut icon" href="/dist/favicon.ico" type="image/x-icon">
<style type="text/css">
body {
font-family: 'Source Sans Pro', sans-serif;
margin: 0;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="/dist/web-bundle.js"></script>
</body>
</html>
which works in a browser and we get table format.
Is there a way to render json format so that a browser is not needed at all? Just want the data using simple curl or at least a way to render it in json within the browser if possible.