Newer
Older
# EOSC Notebooks
This directory has all the files to get started with a new deployment of EOSC
Notebooks.
## Admin Environment Setup
### Hashicorp Vault
Prepare environment for interrating with Hashicorp Vault:
export VAULT_ADDR=https://vault.services.fedcloud.eu:8200
# get the service token
read OIDC_ACCESS_TOKEN
# login to vault
export VAULT_TOKEN=$(vault write auth/jwt/login jwt=$OIDC_ACCESS_TOKEN | grep -Po 'token\s+\K[^\s]+$')
Note: values were created as admin by commands (replace $SECRET\_NAME and $VALUE):
prefix=/users/e1662e20-e34b-468c-b0ce-d899bc878364@egi.eu/eosc-dev
vault kv put -mount secrets $prefix/nexus_admin_password/$SECRET_NAME value=$VALUE