/action-scw-secret

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Scaleway Secret Manager get secrets action

This action retrives secrets from Scaleway Secret Manager and inject them as environment variables.

Inputs

secrets-names

Required One or more secret names to retrieve.

access-key

Required Scaleway access key.

secret-key

Required Scaleway secret key.

default-project-id

Scaleway default project ID.

default-organization-id

Scaleway default organization ID.

default-region

Scaleway default region (default: fr-par).

default-zone

Scaleway default zone (default: fr-par-1).

Example usage

uses: scaleway/action-scw-secret@v1
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 }}