# AWS - Mediapackage Privesc

{{#include ../../../../banners/hacktricks-training.md}}

### `mediapackage:RotateChannelCredentials`

Modifica lo username e la password del primo IngestEndpoint del Channel. (Questa API è deprecata in favore di RotateIngestEndpointCredentials)
```bash
aws mediapackage rotate-channel-credentials --id <value>
```
### `mediapackage:RotateIngestEndpointCredentials`

Modifica lo username e la password del primo IngestEndpoint del Channel. (Questa API è deprecata per RotateIngestEndpointCredentials)
```bash
aws mediapackage rotate-ingest-endpoint-credentials --id test --ingest-endpoint-id 584797f1740548c389a273585dd22a63
```
## Riferimenti

- [https://gist.github.com/kmcquade/33860a617e651104d243c324ddf7992a](https://gist.github.com/kmcquade/33860a617e651104d243c324ddf7992a)

{{#include ../../../../banners/hacktricks-training.md}}
