1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["12137"],{93100(e,s,t){t.r(s),t.d(s,{metadata:()=>n,default:()=>h,frontMatter:()=>i,contentTitle:()=>r,toc:()=>o,assets:()=>d});var n=JSON.parse('{"id":"api/system/seal-status","title":"/sys/seal-status","description":"The `/sys/seal-status` endpoint is used to check the seal status of an OpenBao.","source":"@site/versioned_docs/version-2.5.x/api/system/seal-status.mdx","sourceDirName":"api/system","slug":"/api/system/seal-status","permalink":"/docs/2.5.x/api/system/seal-status","draft":false,"unlisted":false,"editUrl":"https://github.com/openbao/openbao/blob/release/2.5.x/website/content/docs/api/system/seal-status.mdx","tags":[],"version":"2.5.x","frontMatter":{"description":"The `/sys/seal-status` endpoint is used to check the seal status of an OpenBao."},"sidebar":"api","previous":{"title":"/sys/seal","permalink":"/docs/2.5.x/api/system/seal"},"next":{"title":"/sys/step-down","permalink":"/docs/2.5.x/api/system/step-down"}}'),a=t(94686),l=t(44812);let i={description:"The `/sys/seal-status` endpoint is used to check the seal status of an OpenBao."},r="/sys/seal-status",d={},o=[{value:"Seal status",id:"seal-status",level:2},{value:"Sample request",id:"sample-request",level:3},{value:"Sample response",id:"sample-response",level:3}];function c(e){let s={code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,l.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.header,{children:(0,a.jsx)(s.h1,{id:"sysseal-status",children:(0,a.jsx)(s.code,{children:"/sys/seal-status"})})}),"\n",(0,a.jsxs)(s.p,{children:["The ",(0,a.jsx)(s.code,{children:"/sys/seal-status"})," endpoint is used to check the seal status of an OpenBao."]}),"\n",(0,a.jsx)(s.h2,{id:"seal-status",children:"Seal status"}),"\n",(0,a.jsx)(s.p,{children:"This endpoint returns the seal status of the OpenBao. This is an unauthenticated\nendpoint."}),"\n",(0,a.jsxs)(s.table,{children:[(0,a.jsx)(s.thead,{children:(0,a.jsxs)(s.tr,{children:[(0,a.jsx)(s.th,{style:{textAlign:"left"},children:"Method"}),(0,a.jsx)(s.th,{style:{textAlign:"left"},children:"Path"})]})}),(0,a.jsx)(s.tbody,{children:(0,a.jsxs)(s.tr,{children:[(0,a.jsx)(s.td,{style:{textAlign:"left"},children:(0,a.jsx)(s.code,{children:"GET"})}),(0,a.jsx)(s.td,{style:{textAlign:"left"},children:(0,a.jsx)(s.code,{children:"/sys/seal-status"})})]})})]}),"\n",(0,a.jsx)(s.h3,{id:"sample-request",children:"Sample request"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-shell-session",children:"$ curl \\\n http://127.0.0.1:8200/v1/sys/seal-status\n"})}),"\n",(0,a.jsx)(s.h3,{id:"sample-response",children:"Sample response"}),"\n",(0,a.jsx)(s.p,{children:'The "t" parameter is the threshold, and "n" is the number of shares.'}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-json",children:'{\n "type": "shamir",\n "initialized": true,\n "sealed": true,\n "t": 3,\n "n": 5,\n "progress": 2,\n "nonce": "",\n "version": "1.11.0",\n "build_date": "2022-05-03T08:34:11Z",\n "migration": false,\n "recovery_seal": false,\n "storage_type": "file"\n}\n'})}),"\n",(0,a.jsx)(s.p,{children:"Sample response when OpenBao is unsealed."}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-json",children:'{\n "type": "shamir",\n "initialized": true,\n "sealed": false,\n "t": 3,\n "n": 5,\n "progress": 0,\n "nonce": "",\n "version": "1.11.0",\n "build_date": "2022-05-03T08:34:11Z",\n "migration": false,\n "cluster_name": "openbao-cluster-336172e1",\n "cluster_id": "f94053ad-d80e-4270-2006-2efd67d0910a",\n "recovery_seal": false,\n "storage_type": "file"\n}\n'})})]})}function h(e={}){let{wrapper:s}={...(0,l.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},44812(e,s,t){t.d(s,{R:()=>i,x:()=>r});var n=t(92990);let a={},l=n.createContext(a);function i(e){let s=n.useContext(l);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function r(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),n.createElement(l.Provider,{value:s},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.