mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-01-13 21:36:23 -08:00
Translated ['.github/pull_request_template.md', 'src/pentesting-cloud/az
This commit is contained in:
@@ -2,47 +2,41 @@
|
||||
|
||||
{{#include ../../../banners/hacktricks-training.md}}
|
||||
|
||||
## Basic Information
|
||||
## Основна інформація
|
||||
|
||||
In Google Cloud Platform (GCP), API keys are a simple encrypted string that **identifies an application without any principa**l. They are used to **access Google Cloud APIs** that do not require user context. This means they are often used in scenarios where the application is accessing its own data rather than user data.
|
||||
У Google Cloud Platform (GCP) API ключі - це простий зашифрований рядок, який **ідентифікує додаток без будь-якого принципала**. Вони використовуються для **доступу до Google Cloud APIs**, які не вимагають контексту користувача. Це означає, що їх часто використовують у сценаріях, коли додаток отримує доступ до своїх власних даних, а не до даних користувача.
|
||||
|
||||
### Restrictions
|
||||
### Обмеження
|
||||
|
||||
You can **apply restrictions to API keys** for enhanced security. For example, you can restrict the key to be **used only by certain IP addresses, webs, android apps, iOS apps**, or restrict it to **certain APIs or services** within GCP.
|
||||
Ви можете **застосувати обмеження до API ключів** для підвищення безпеки. Наприклад, ви можете обмежити ключ, щоб він **використовувався лише певними IP-адресами, веб-сайтами, андроїд-додатками, iOS-додатками**, або обмежити його до **певних API або сервісів** у GCP.
|
||||
|
||||
### Enumeration
|
||||
|
||||
It's possible to **see the restriction of an API key** (including GCP API endpoints restriction) using the verbs list or describe:
|
||||
### Перерахування
|
||||
|
||||
Можливо **побачити обмеження API ключа** (включаючи обмеження GCP API кінцевих точок) за допомогою списку дієслів або опису:
|
||||
```bash
|
||||
gcloud services api-keys list
|
||||
gcloud services api-keys describe <key-uuid>
|
||||
gcloud services api-keys list --show-deleted
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> It's possible to recover deleted keys before 30days passes, that's why you can list deleted keys.
|
||||
> Можливо відновити видалені ключі до закінчення 30 днів, тому ви можете перерахувати видалені ключі.
|
||||
|
||||
### Privilege Escalation & Post Exploitation
|
||||
### Підвищення привілеїв та постексплуатація
|
||||
|
||||
{{#ref}}
|
||||
../gcp-privilege-escalation/gcp-apikeys-privesc.md
|
||||
{{#endref}}
|
||||
|
||||
### Unauthenticated Enum
|
||||
### Неавтентифікований перерахунок
|
||||
|
||||
{{#ref}}
|
||||
../gcp-unauthenticated-enum-and-access/gcp-api-keys-unauthenticated-enum.md
|
||||
{{#endref}}
|
||||
|
||||
### Persistence
|
||||
### Персистентність
|
||||
|
||||
{{#ref}}
|
||||
../gcp-persistence/gcp-api-keys-persistence.md
|
||||
{{#endref}}
|
||||
|
||||
{{#include ../../../banners/hacktricks-training.md}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user