The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

11 linhas
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