[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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user