# strazactl apps secret remove

Remove the server's own secret, with --role the override one role uses, or with --listing the listing credential


```
strazactl apps secret remove <server> [flags]
```

## Examples

```
  strazactl apps secret remove scout-tools --role scout-role
  strazactl apps secret remove objects-demo --listing
```

## Options

```
      --listing       remove the credential Straza lists the server's objects with instead of the server's own secret
      --role string   remove the override for this role instead of the server's own secret
```

## Options inherited from parent commands

```
      --server string   strazad base URL (overrides $STRAZA_SERVER)
```

## See also

* [strazactl apps secret](https://docs.straza.ai/reference/cli/strazactl/strazactl_apps_secret/index.md): Manage a server's static secret (injected gateway-side, never client-visible)



