blob: 3ba62808c0e52cd82debee639000958f9524a2e0 [file] [log] [blame]
#!/bin/bash
# List all secrets available.
REL=$(dirname "$0")
source ${REL}/config.sh
if [ $# -ne 1 ]; then
echo "$0 <cluster-name>"
exit 1
fi
CLUSTER=$1
berglas list ${BUCKET_ID} --prefix=${CLUSTER}/ \
| tail -n +2 - \
| awk '{print $1}' \
| sed s#${CLUSTER}/##g