Environment variables: GOOGLE_PROJECT_ID=gcp-project-id GOOGLE_APPLICATION_CREDENTIALS=path-to-json-file Environment variables for test: RESTIC_TEST_GS_PROJECT_ID=gcp-project-id RESTIC_TEST_GS_APPLICATION_CREDENTIALS=path-to-json-file RESTIC_TEST_GS_REPOSITORY=gs:us-central1/test-bucket Init repository: $ restic -r gs🪣/[prefix] init