switch to bitw for secret service

Amolith created

Change summary

dot_config/vdirsyncer/config.tmpl     | 8 ++++----
dot_config/zsh/private_dot_zshrc.tmpl | 8 ++++----
dot_wakatime.cfg.tmpl                 | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)

Detailed changes

dot_config/vdirsyncer/config.tmpl 🔗

@@ -43,9 +43,9 @@ fileext = ".vcf"
 
 [storage contacts_remote]
 type = "carddav"
-url = "{{- secret "lookup" "Title" "dav-url" -}}"
+url = "{{- secret "lookup" "name" "dav-url" -}}"
 username = "amolith"
-password.fetch = ["command", "secret-tool", "lookup", "Title", "vdirsyncer"]
+password.fetch = ["command", "secret-tool", "lookup", "name", "vdirsyncer"]
 
 # CALDAV
 [pair calendar]
@@ -69,6 +69,6 @@ fileext = ".ics"
 
 [storage calendar_remote]
 type = "caldav"
-url = "{{- secret "lookup" "Title" "dav-url" -}}"
+url = "{{- secret "lookup" "name" "dav-url" -}}"
 username = "amolith"
-password.fetch = ["command", "secret-tool", "lookup", "Title", "vdirsyncer"]
+password.fetch = ["command", "secret-tool", "lookup", "name", "vdirsyncer"]

dot_config/zsh/private_dot_zshrc.tmpl 🔗

@@ -141,11 +141,11 @@ CASE_SENSITIVE="false"
 export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
 
 # Authenticate to Woodpecker CI
-export WOODPECKER_SERVER="{{- secret "lookup" "Title" "bus-woodpecker-server" -}}"
-export WOODPECKER_TOKEN="{{- secret "lookup" "Title" "bus-woodpecker-token" -}}"
+export WOODPECKER_SERVER="{{- secret "lookup" "name" "bus-woodpecker-server" -}}"
+export WOODPECKER_TOKEN="{{- secret "lookup" "name" "bus-woodpecker-token" -}}"
 
 # Authenticate to Bitwarden
-export BW_SESSION="{{- secret "lookup" "Title" "bw-session" -}}"
+export BW_SESSION="{{- secret "lookup" "name" "bw-session" -}}"
 
 #HYPHEN_INSENSITIVE="true"
 # Uncomment the following line if pasting URLs and other text is messed up.
@@ -199,7 +199,7 @@ function gi() {
     curl -sLw https://www.toptal.com/developers/gitignore/api/$@ ;
 }
 function noti() {
-    curl 'https://notify.nixnet.services/message?token={{- secret "lookup" "Title" "gotify-token" -}}' -F "title=$1" -F "message=$2" -F "priority=4"
+    curl 'https://notify.nixnet.services/message?token={{- secret "lookup" "name" "gotify-token" -}}' -F "title=$1" -F "message=$2" -F "priority=4"
 }
 # Hide the terminal when these apps are opened from a terminal
 function zathura() { devour zathura "$1" }

dot_wakatime.cfg.tmpl 🔗

@@ -1,7 +1,7 @@
 [settings]
 debug                          = false
 api_url                        = https://waka.secluded.site/api/heartbeat
-api_key                        = {{ secret "lookup" "Title" "wakapi-token" }}
+api_key                        = {{ secret "lookup" "name" "wakapi-token" }}
 hide_file_names                = false
 hide_project_names             = false
 hide_branch_names              =