Sha256: 073adcac4f73e97e5a21abad58a9d1dabeef0ca4ba85ed5dc9792b0bb29c89b7

Contents?: true

Size: 711 Bytes

Versions: 6

Compression:

Stored size: 711 Bytes

Contents

#!/bin/bash
set -ex

export COMPOSE_PROJECT_NAME=clirubydev

docker-compose build

if [ ! -f data_key ]; then
  echo "Generating data key"
  docker-compose pull
  docker-compose run --no-deps --rm conjur data-key generate > data_key
fi

export CONJUR_DATA_KEY="$(cat data_key)"

docker-compose up -d
docker-compose exec conjur conjurctl wait

apikey=$(docker-compose exec conjur \
  conjurctl role retrieve-key cucumber:user:admin)

set +x
echo ''
echo ''
echo '=============== LOGIN WITH THESE CREDENTIALS ==============='
echo ''
echo 'username: admin'
echo "api key : ${apikey}"
echo ''
echo '============================================================'
echo ''
echo ''
set -x

docker-compose exec cli bash

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
conjur-cli-6.2.6 dev/start.sh
conjur-cli-6.2.5 dev/start.sh
conjur-cli-6.2.4 dev/start.sh
conjur-cli-6.2.3 dev/start.sh
conjur-cli-6.2.2 dev/start.sh
conjur-cli-6.2.1 dev/start.sh