[{"data":1,"prerenderedAt":337},["ShallowReactive",2],{"navigation":3,"\u002Fgetting-started\u002Fintroduction":116,"\u002Fgetting-started\u002Fintroduction-surround":334},[4,27,61,82,112],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":26},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18,22],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":19,"path":20,"stem":21},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":23,"path":24,"stem":25},"Development","\u002Fgetting-started\u002Fdevelopment","1.getting-started\u002F4.development",false,{"title":28,"icon":29,"path":30,"stem":31,"children":32,"page":26},"Guides","i-lucide-book-open","\u002Fguides","2.guides",[33,37,41,45,49,53,57],{"title":34,"path":35,"stem":36},"Sessions and store","\u002Fguides\u002Fsessions","2.guides\u002F1.sessions",{"title":38,"path":39,"stem":40},"Vault and procedures","\u002Fguides\u002Fvault","2.guides\u002F2.vault",{"title":42,"path":43,"stem":44},"Password accounts","\u002Fguides\u002Fpasswords","2.guides\u002F3.passwords",{"title":46,"path":47,"stem":48},"Rust backend","\u002Fguides\u002Frust","2.guides\u002F4.rust",{"title":50,"path":51,"stem":52},"Security notes","\u002Fguides\u002Fsecurity","2.guides\u002F5.security",{"title":54,"path":55,"stem":56},"Permissions","\u002Fguides\u002Fpermissions","2.guides\u002F6.permissions",{"title":58,"path":59,"stem":60},"Coming from Stronghold","\u002Fguides\u002Fstronghold","2.guides\u002F7.stronghold",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":26},"API reference","i-lucide-file-code","\u002Freference","3.reference",[67,71,75,79],{"title":68,"path":69,"stem":70},"JavaScript API","\u002Freference\u002Fjavascript-api","3.reference\u002F1.javascript-api",{"title":72,"path":73,"stem":74},"Types","\u002Freference\u002Ftypes","3.reference\u002F2.types",{"title":76,"path":77,"stem":78},"Tauri commands","\u002Freference\u002Fcommands","3.reference\u002F3.commands",{"title":54,"path":80,"stem":81},"\u002Freference\u002Fpermissions","3.reference\u002F4.permissions",{"title":83,"icon":84,"path":85,"stem":86,"children":87,"page":26},"Platforms","i-lucide-monitor-smartphone","\u002Fplatforms","4.platforms",[88,92,96,100,104,108],{"title":89,"path":90,"stem":91},"Overview","\u002Fplatforms\u002Foverview","4.platforms\u002F1.overview",{"title":93,"path":94,"stem":95},"macOS","\u002Fplatforms\u002Fmacos","4.platforms\u002F2.macos",{"title":97,"path":98,"stem":99},"Windows","\u002Fplatforms\u002Fwindows","4.platforms\u002F3.windows",{"title":101,"path":102,"stem":103},"Linux","\u002Fplatforms\u002Flinux","4.platforms\u002F4.linux",{"title":105,"path":106,"stem":107},"Android","\u002Fplatforms\u002Fandroid","4.platforms\u002F5.android",{"title":109,"path":110,"stem":111},"iOS","\u002Fplatforms\u002Fios","4.platforms\u002F6.ios",{"title":113,"path":114,"stem":115},"Changelog","\u002Fchangelog","9.changelog",{"id":117,"title":11,"body":118,"description":327,"extension":328,"generated":26,"links":329,"meta":330,"navigation":331,"path":12,"seo":332,"stem":13,"__hash__":333},"docs\u002F1.getting-started\u002F1.introduction.md",{"type":119,"value":120,"toc":319},"minimark",[121,144,147,213,218,243,273,277,294,298],[122,123,124,128,129,133,134,143],"p",{},[125,126,127],"code",{},"tauri-plugin-keyring-store"," keeps secrets in the ",[130,131,132],"strong",{},"credential store of the operating system",":\nmacOS Keychain, Windows Credential Manager, Linux Secret Service, the Android keystore and the iOS\ndata-protection keychain. It is built on ",[135,136,140],"a",{"href":137,"rel":138},"https:\u002F\u002Fcrates.io\u002Fcrates\u002Fkeyring-core",[139],"nofollow",[125,141,142],{},"keyring-core"," 1.x\nand the official backend crates for each platform.",[122,145,146],{},"Two packages:",[148,149,150,166],"table",{},[151,152,153],"thead",{},[154,155,156,160,163],"tr",{},[157,158,159],"th",{},"Package",[157,161,162],{},"Where",[157,164,165],{},"What",[167,168,169,194],"tbody",{},[154,170,171,180,185],{},[172,173,174],"td",{},[135,175,178],{"href":176,"rel":177},"https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftauri-plugin-keyring-store",[139],[125,179,127],{},[172,181,182],{},[125,183,184],{},"src-tauri",[172,186,187,188,193],{},"The plugin, Tauri commands and the Rust ",[135,189,190],{"href":47},[125,191,192],{},"KeyringStore",".",[154,195,196,205,208],{},[172,197,198],{},[135,199,202],{"href":200,"rel":201},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Ftauri-plugin-keyring-store-api",[139],[125,203,204],{},"tauri-plugin-keyring-store-api",[172,206,207],{},"frontend",[172,209,210,211,193],{},"The ",[135,212,68],{"href":69},[214,215,217],"h2",{"id":216},"two-apis-in-one-plugin","Two APIs in one plugin",[122,219,220,223,224,234,235,238,239,242],{},[130,221,222],{},"Password accounts."," ",[135,225,226,229,230,233],{"href":43},[125,227,228],{},"getPasswords",", ",[125,231,232],{},"setPasswords",", …"," read and write UTF-8\nsecrets by an account name you choose (",[125,236,237],{},"app.api_token","). One account is one OS keyring entry under\nyour app's ",[130,240,241],{},"service"," name. Backups can be exported in plain text or encrypted with a passphrase.",[122,244,245,223,248,257,258,265,266,269,270,193],{},[130,246,247],{},"Stronghold-shaped sessions.",[135,249,250,229,253,256],{"href":35},[125,251,252],{},"KeyringSession",[125,254,255],{},"KeyringClient",", the store and the vault","\nmirror the API of ",[135,259,262],{"href":260,"rel":261},"https:\u002F\u002Fgithub.com\u002Ftauri-apps\u002Fplugins-workspace\u002Ftree\u002Fv2\u002Fplugins\u002Fstronghold",[139],[125,263,264],{},"tauri-plugin-stronghold",",\nincluding the SLIP10 \u002F BIP39 \u002F Ed25519 ",[135,267,268],{"href":39},"procedures",". The names you pass (session path,\nclient, vault, record) are hashed into account names of the form ",[125,271,272],{},"kp:v1:…",[214,274,276],{"id":275},"what-is-different-from-stronghold","What is different from Stronghold",[122,278,279,280,283,284,287,288,291,292,193],{},"There is ",[130,281,282],{},"no snapshot file",". Every record is written to the OS store at once, ",[125,285,286],{},"save()"," writes\nnothing, and the session password is not used for encryption: the OS store and the plugin\n",[135,289,290],{"href":55},"permissions"," protect the data. See ",[135,293,58],{"href":59},[214,295,297],{"id":296},"where-to-go-next","Where to go next",[299,300,301,309,314],"ul",{},[302,303,304,306,307,193],"li",{},[135,305,15],{"href":16}," and ",[135,308,19],{"href":20},[302,310,311,313],{},[135,312,50],{"href":51}," before you store anything that matters.",[302,315,316,318],{},[135,317,83],{"href":90}," for what each OS store needs and limits.",{"title":320,"searchDepth":321,"depth":322,"links":323},"",2,3,[324,325,326],{"id":216,"depth":321,"text":217},{"id":275,"depth":321,"text":276},{"id":296,"depth":321,"text":297},"What tauri-plugin-keyring-store does, how it stores data, and how it relates to tauri-plugin-stronghold.","md",null,{},true,{"title":11,"description":327},"fQgTH9s4i_BVHg004k7doIp2oUPyjMF54oqEPXGUwYk",[329,335],{"title":15,"path":16,"stem":17,"description":336,"children":-1},"Add the Rust crate and the npm package, register the plugin and allow its commands.",1794215488496]