[v9.4.x] CI: Move npm token to Vault (#73457)

CI: Move npm token to Vault (#73407)

(cherry picked from commit c86a73c794)
This commit is contained in:
Horst Gutmann
2023-08-18 09:00:08 +03:00
committed by GitHub
parent c583fc795e
commit 7165da76cb
4 changed files with 18 additions and 3 deletions
+7
View File
@@ -17,6 +17,8 @@ rgm_destination = "destination"
rgm_github_token = "github_token"
rgm_dagger_token = "dagger_token"
npm_token = "npm_token"
def from_secret(secret):
return {"from_secret": secret}
@@ -64,6 +66,11 @@ def secrets():
"infra/data/ci/datasources/cpp-azure-resourcemanager-credentials",
"tenant_id",
),
vault_secret(
npm_token,
"infra/data/ci/grafana-release-eng/npm",
"token",
),
# Package publishing
vault_secret(
"packages_gpg_public_key",