switch to 1password

Amolith created

Change summary

dot_config/vdirsyncer/config.tmpl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Detailed changes

dot_config/vdirsyncer/config.tmpl 🔗

@@ -43,9 +43,9 @@ fileext = ".vcf"
 
 [storage contacts_remote]
 type = "carddav"
-url = "{{- secret "get" "password" "dav-url" -}}"
+url = "{{- onepasswordRead "op://Private/dav-url/password" -}}"
 username = "amolith"
-password.fetch = ["command", "bw", "get", "password", "vdirsyncer"]
+password.fetch = ["command", "op", "read", "op://Private/vdirsyncer/password"]
 
 # CALDAV
 [pair calendar]
@@ -69,6 +69,6 @@ fileext = ".ics"
 
 [storage calendar_remote]
 type = "caldav"
-url = "{{- secret "get" "password" "dav-url" -}}"
+url = "{{- onepasswordRead "op://Private/dav-url/password" -}}"
 username = "amolith"
-password.fetch = ["command", "bw", "get", "password", "vdirsyncer"]
+password.fetch = ["command", "op", "read", "op://Private/vdirsyncer/password"]