# GCP - Spanner Enum

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

## [Cloud Spanner](https://cloud.google.com/sdk/gcloud/reference/spanner/)

Volledig bestuurde relationele databasis met onbeperkte skaal, sterk konsekwentheid, en tot 99.999% beskikbaarheid.
```bash
# Cloud Spanner
## Instances
gcloud spanner instances list
gcloud spanner instances describe <INSTANCE>
gcloud spanner instances get-iam-policy <INSTANCE>

## Databases
gcloud spanner databases list --instance <INSTANCE>
gcloud spanner databases describe --instance <INSTANCE> <db_name>
gcloud spanner databases get-iam-policy --instance <INSTANCE> <db_name>
gcloud spanner databases execute-sql --instance <INSTANCE> --sql <sql> <db_name>

## Backups
gcloud spanner backups list --instance <INSTANCE>
gcloud spanner backups get-iam-policy --instance <INSTANCE> <backup_name>

## Instance Configs
gcloud spanner instance-configs list
gcloud spanner instance-configs describe <name>
```
{{#include ../../../banners/hacktricks-training.md}}
