# Accessing the macOS Keychain from Julia

**URL:** <https://discourse.julialang.org/t/accessing-the-macos-keychain-from-julia/119693>\
**Category:** General Usage\
**Tags:** security\
**Created:** [September 22, 2024, 8:09am UTC](https://discourse.julialang.org/t/accessing-the-macos-keychain-from-julia/119693 "2024-09-22T08:09:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Post date:** [September 22, 2024, 8:09am UTC](https://discourse.julialang.org/t/accessing-the-macos-keychain-from-julia/119693/1 "2024-09-22T08:09:29Z")

</div>

How can one access the macOS Keychain from Julia ? To store or retrieve passwords.

---

<div class="post-metadata">

**Author:** ![Eben60](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eben60/32/13475_2.png) [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Post date:** [September 22, 2024, 10:21am UTC](https://discourse.julialang.org/t/accessing-the-macos-keychain-from-julia/119693/2 "2024-09-22T10:21:08Z")

</div>

No specific recommendations, but a couple of links. I assume you are familiar with AppleScript 😉

[https://www.manpagez.com/man/1/osascript/](https://www.manpagez.com/man/1/osascript/)

> **[Updated AppleScript module for Python](https://leancrew.com/all-this/2022/06/updated-applescript-module-for-python/)**
>
> I had to update my old applescript module for Python 3.

> [@\[ANN\] AppleScriptingBridge.jl](https://discourse.julialang.org/t/ann-applescriptingbridge-jl/96798):
>
> Hi all, small announcement of an experimental package I made using the recently revamped ObjectiveC.jl called [AppleScriptingBridge.jl](https://github.com/jkrumbiegel/AppleScriptingBridge.jl). It’s not registered and probably won’t be due to it’s experimental status, but I’ve put some effort into it so if it can help someone a little, why not! I wanted to automate exporting of photos from an application called Capture One and load them into Apple’s Photos app, both of which have an AppleScript interface. But I dislike writing AppleScript so much that…
