Skip to content

Support to pass token scopes using CLI parameters

Original version could used only to get access tokens with compute.* scopes, but ATLAS would like to use same mechanism to get valid tokens also for storage probes. To be able to test access to storage with tokens we need storage.*:$PATH scopes, e.g.

./refresh_token -E --token-config etf-atlas-prod \
    --aud /path/to/se/hostnames/for/tokens \
    --scope \
    --scope storage.create:/atlasdatadisk/SAM/ \
    --scope storage.modify:/atlasdatadisk/SAM/ \
    --scope \
    --scope storage.create:/atlasscratchdisk/SAM/ \
    --scope storage.modify:/atlasscratchdisk/SAM/

Merge request reports