This action retrives secrets from Scaleway Secret Manager and inject them as environment variables.
Required One or more secret names to retrieve.
Format:
secret-name
: Will fetchsecret-name
latest version and export its value toSECRET_NAME
MY_ENV_VAR,secret-name
: Will fetchsecret-name
latest version and export its value toMY_ENV_VAR
Required Scaleway access key.
Required Scaleway secret key.
Scaleway default project ID.
Scaleway default organization ID.
Scaleway default region (default: fr-par).
Scaleway default zone (default: fr-par-1).
uses: scaleway/action-scw-secret@v0
with:
secret-names: |
my-secret
MY_SECOND_SECRET,my-other-secret
access-key: ${{ secrets.SCW_ACCESS_KEY }}
secret-key: ${{ secrets.SCW_SECRET_KEY }}
default-project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}