.kube/config
could also be available to you via the personal-files
interface (there are several snaps that use this). The ssh-keys
interface is available for your snap to use, but yes, it is manually connected and due to the sensitive nature of the interface, auto-connection would unlikely be granted (though, see manual connection mitigations in our processes for things you can do to improve the user experience). Note that your snap has full access to $SNAP_USER_DATA/.ssh and so your snap could use this for snap-specific keys instead of requiring access to the user’s (global) ssh keys.