Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

docs(setup): Document how to delete service account #1875

Merged
merged 3 commits into from
Jun 18, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions setup/security/authorization/service-accounts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,17 @@ the case.)

At pipeline runtime, standard authorization checks against the account and application occur
just as if it were a human user.

## Deleting service accounts

To delete a service account, use the following `DELETE` endpoint in Front50:

```bash
# Service Account ID is the same as service account name with all lowercase
SERVICE_ACCOUNT_ID="sekret-service-account@spinnaker-test.net"
FRONT50=http://front50.url:8080

curl -X DELETE "$FRONT50/serviceAccounts/$SERVICE_ACCOUNT_ID"
```

Similar to service account creation, a Fiat sync (`curl -X POST $FIAT/roles/sync` ) might be necessary for the changes to be immediately reflected.