The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

vultr_delete_ssh_keys.sh 464 B

12345678910
  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. THISDIR=$(cd $(dirname ${0}) && pwd)
  6. VCURL=${THISDIR}/vcurl
  7. for id in $(${VCURL} sshkey/list | jq -r '.[] | select(.name != "chipper / pipper") | .SSHKEYID') ; do
  8. echo "Deleting SSH key: ${id}"
  9. ${VCURL} sshkey/destroy -X POST --data 'SSHKEYID='"${id}"'' || echo "Error deleting SSH key: ${id}"
  10. done