Skip to content

Instantly share code, notes, and snippets.

@empjustine
Created October 11, 2025 17:05
Show Gist options
  • Select an option

  • Save empjustine/a6c59ade2455052186dc3bc3aa59178b to your computer and use it in GitHub Desktop.

Select an option

Save empjustine/a6c59ade2455052186dc3bc3aa59178b to your computer and use it in GitHub Desktop.

busctl --user --full introspect org.freedesktop.secrets /org/freedesktop/secrets

NAME                                TYPE      SIGNATURE RESULT/VALUE                                      FLAGS
org.freedesktop.DBus.Introspectable interface -         -                                                 -
.Introspect                         method    -         s                                                 -
org.freedesktop.DBus.Peer           interface -         -                                                 -
.GetMachineId                       method    -         s                                                 -
.Ping                               method    -         -                                                 -
org.freedesktop.DBus.Properties     interface -         -                                                 -
.Get                                method    ss        v                                                 -
.GetAll                             method    s         a{sv}                                             -
.Set                                method    ssv       -                                                 -
.PropertiesChanged                  signal    sa{sv}as  -                                                 -
org.freedesktop.Secret.Service      interface -         -                                                 -
.CreateCollection                   method    a{sv}s    oo                                                -
.GetSecrets                         method    aoo       a{o(oayays)}                                      -
.Lock                               method    ao        aoo                                               -
.OpenSession                        method    sv        vo                                                -
.ReadAlias                          method    s         o                                                 -
.SearchItems                        method    a{ss}     aoao                                              -
.SetAlias                           method    so        -                                                 -
.Unlock                             method    ao        aoo                                               -
.Collections                        property  ao        1 "/org/freedesktop/secrets/collection/kdewallet" emits-change
.CollectionChanged                  signal    o         -                                                 -
.CollectionCreated                  signal    o         -                                                 -
.CollectionDeleted                  signal    o         -                                                 -

busctl --user --xml-interface introspect org.freedesktop.secrets /org/freedesktop/secrets

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <interface name="org.freedesktop.Secret.Service">
    <property access="read" type="ao" name="Collections"/>
    <method name="OpenSession">
      <arg direction="in" type="s" name="algorithm"/>
      <arg direction="in" type="v" name="input"/>
      <arg direction="out" type="v" name="output"/>
      <arg direction="out" type="o" name="result"/>
    </method>
    <method name="CreateCollection">
      <arg direction="in" type="a{sv}" name="properties"/>
      <annotation value="QVariantMap" name="org.qtproject.QtDBus.QtTypeName.In0"/>
      <arg direction="in" type="s" name="alias"/>
      <arg direction="out" type="o" name="collection"/>
      <arg direction="out" type="o" name="prompt"/>
    </method>
    <method name="SearchItems">
      <arg direction="in" type="a{ss}" name="attributes"/>
      <annotation value="StrStrMap" name="org.qtproject.QtDBus.QtTypeName.In0"/>
      <arg direction="out" type="ao" name="unlocked"/>
      <arg direction="out" type="ao" name="locked"/>
    </method>
    <method name="Unlock">
      <arg direction="in" type="ao" name="objects"/>
      <arg direction="out" type="ao" name="unlocked"/>
      <arg direction="out" type="o" name="prompt"/>
    </method>
    <method name="Lock">
      <arg direction="in" type="ao" name="objects"/>
      <arg direction="out" type="ao" name="locked"/>
      <arg direction="out" type="o" name="Prompt"/>
    </method>
    <method name="GetSecrets">
      <arg direction="in" type="ao" name="items"/>
      <arg direction="in" type="o" name="session"/>
      <arg direction="out" type="a{o(oayays)}" name="secrets"/>
      <annotation value="FreedesktopSecretMap" name="org.qtproject.QtDBus.QtTypeName.Out0"/>
    </method>
    <method name="ReadAlias">
      <arg direction="in" type="s" name="name"/>
      <arg direction="out" type="o" name="collection"/>
    </method>
    <method name="SetAlias">
      <arg direction="in" type="s" name="name"/>
      <arg direction="in" type="o" name="collection"/>
    </method>
    <signal name="CollectionCreated">
      <arg type="o" name="collection"/>
    </signal>
    <signal name="CollectionDeleted">
      <arg type="o" name="collection"/>
    </signal>
    <signal name="CollectionChanged">
      <arg type="o" name="collection"/>
    </signal>
  </interface>
  <interface name="org.freedesktop.DBus.Properties">
    <method name="Get">
      <arg name="interface_name" type="s" direction="in"/>
      <arg name="property_name" type="s" direction="in"/>
      <arg name="value" type="v" direction="out"/>
    </method>
    <method name="Set">
      <arg name="interface_name" type="s" direction="in"/>
      <arg name="property_name" type="s" direction="in"/>
      <arg name="value" type="v" direction="in"/>
    </method>
    <method name="GetAll">
      <arg name="interface_name" type="s" direction="in"/>
      <arg name="values" type="a{sv}" direction="out"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
    </method>
    <signal name="PropertiesChanged">
      <arg name="interface_name" type="s" direction="out"/>
      <arg name="changed_properties" type="a{sv}" direction="out"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/>
      <arg name="invalidated_properties" type="as" direction="out"/>
    </signal>
  </interface>
  <interface name="org.freedesktop.DBus.Introspectable">
    <method name="Introspect">
      <arg name="xml_data" type="s" direction="out"/>
    </method>
  </interface>
  <interface name="org.freedesktop.DBus.Peer">
    <method name="Ping"/>
    <method name="GetMachineId">
      <arg name="machine_uuid" type="s" direction="out"/>
    </method>
  </interface>
  <node name="aliases"/>
  <node name="collection"/>
  <node name="session"/>
</node>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment