mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ci/project deploy] Update _reset-credentials endpoint (#176604)
This commit is contained in:
parent
567e6de1c0
commit
831cfd21ef
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ deploy() {
|
|||
|
||||
echo "Get credentials..."
|
||||
curl -s -XPOST -H "Authorization: ApiKey $PROJECT_API_KEY" \
|
||||
"${PROJECT_API_DOMAIN}/api/v1/serverless/projects/${PROJECT_TYPE}/${PROJECT_ID}/_reset-credentials" &>> $DEPLOY_LOGS
|
||||
"${PROJECT_API_DOMAIN}/api/v1/serverless/projects/${PROJECT_TYPE}/${PROJECT_ID}/_reset-internal-credentials" &>> $DEPLOY_LOGS
|
||||
|
||||
PROJECT_USERNAME=$(jq -r --slurp '.[2].username' $DEPLOY_LOGS)
|
||||
PROJECT_PASSWORD=$(jq -r --slurp '.[2].password' $DEPLOY_LOGS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue