The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 line
464 B

  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