Skip to content

Commit 240d20a

Browse files
authored
chore: e2e creds to garden (#1552)
1 parent 5eb1ef4 commit 240d20a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

e2e/scripts/azure_key.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ listKeys() {
2525

2626
create() {
2727
log "Creating new key for APP_ID $APP_ID"
28-
az ad app credential reset --id "$APP_ID" --append --query password --only-show-errors -o tsv
28+
$SECRET=$(az ad app credential reset --id "$APP_ID" --append --query password --only-show-errors -o tsv)
29+
putCredentialKeyVal "clientId" "$APP_ID"
30+
putCredentialKeyVal "clientSecret" "$SECRET"
31+
saveCredentialsToGarden "$AZURE_GARDEN_SECRET"
2932
}
3033

3134

0 commit comments

Comments
 (0)