From 4c957dd4582da9e6c4cfc9306f4362bb1d34f71d Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Wed, 12 Mar 2025 12:43:04 +0100 Subject: [PATCH] feat: update password retrieval command to use new 1Password syntax --- bin/actions/secrets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/actions/secrets.py b/bin/actions/secrets.py index 05a9186..7dbc8e6 100755 --- a/bin/actions/secrets.py +++ b/bin/actions/secrets.py @@ -15,7 +15,7 @@ def get_password(): op_cmd = "op" # Try to get the password - success, output = run_command([op_cmd, "item", "get", "Dotfiles Secrets", "--fields", "password"]) + success, output = run_command([op_cmd, "read", "op://j7nmhqlsjmp2r6umly5t75hzb4/Dotfiles Secrets/password"]) if not success: printfe("red", "Failed to fetch password from 1Password.")