File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,14 +96,11 @@ if [[ "${DRY_RUN:-}" == "1" ]]; then
9696fi
9797
9898report_step " Fetching Artifactory credentials"
99- # The secret is stored at `kv/ci-shared/serverless/cloud-ui/kbn-ui-artifactory-registry`,
100- # so that engineering orgs and CIs from kibana and cloud-ui can both access it without
101- # granting broader vault permissions.
102- # Secret layout:
99+ # Secret layout at `secret/ci/elastic-kibana/kbn-ui-artifactory`:
103100# registry - full npm registry URL
104101# npm_token - auth token
105- NPM_REGISTRY=" $( vault_kv_get kv/ci-shared/serverless/cloud-ui/ kbn-ui-artifactory-registry registry_url ) "
106- NPM_TOKEN=" $( vault_kv_get kv/ci-shared/serverless/cloud-ui/ kbn-ui-artifactory-registry npm_token) "
102+ NPM_REGISTRY=" $( vault_get kbn-ui-artifactory registry ) "
103+ NPM_TOKEN=" $( vault_get kbn-ui-artifactory npm_token) "
107104if [[ -z " $NPM_REGISTRY " || -z " $NPM_TOKEN " ]]; then
108105 echo " ERROR: Artifactory credentials missing from vault." >&2
109106 exit 1
You can’t perform that action at this time.
0 commit comments