Skip to content
Back to skills

11 Authentication

ASecurity

Sub-skill of google-earth-engine: 1.1 Authentication (+2).

  • 17 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
securitypythongogcp

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add vamseeachanta/workspace-hub --skill 11-authentication --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 11 Authentication?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 11 Authentication
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-11-authentication/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-11-authentication)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: google-earth-engine-11-authentication
description: 'Sub-skill of google-earth-engine: 1.1 Authentication (+2).'
version: 1.0.0
category: engineering/gis
type: reference
scripts_exempt: true
---

# 1.1 Authentication (+2)

## 1.1 Authentication


```python
import ee

# First-time setup (opens browser OAuth flow):
# ee.Authenticate()

# Runtime authentication (service account or existing token):
ee.Initialize(project="your-gcp-project-id")

# Service account (CI / headless):
credentials = ee.ServiceAccountCredentials(
    email="sa@example.iam.gserviceaccount.com",
    key_file="/path/to/key.json"
)
ee.Initialize(credentials=credentials, project="your-gcp-project-id")
```


## 1.2 Define Area of Interest (AOI)


```python
import ee

# From bounding box (lon_min, lat_min, lon_max, lat_max)
aoi = ee.Geometry.Rectangle([-5.0, 54.0, 2.0, 60.0])  # North Sea

# From polygon coordinates [[lon, lat], ...]
aoi = ee.Geometry.Polygon([[
    [-2.0, 56.5], [1.5, 56.5], [1.5, 58.0], [-2.0, 58.0]
]])

# From GeoJSON FeatureCollection
aoi = ee.FeatureCollection(
    "projects/my-project/assets/pipeline_corridor"
)
```


## 1.3 Key Marine / Offshore Datasets


| Dataset | EE ID | Description |
|---------|-------|-------------|
| GEBCO 2023 bathymetry | `projects/sat-io/open-datasets/gebco/GEBCO_2023` | Global 15-arc-sec depth |
| ETOPO1 | `NOAA/NGDC/ETOPO1` | Global 1-arc-min elevation |
| Sentinel-2 SR | `COPERNICUS/S2_SR_HARMONIZED` | 10 m optical, 5-day revisit |
| Landsat 8/9 | `LANDSAT/LC09/C02/T1_L2` | 30 m optical |
| ERA5 wind/wave | `ECMWF/ERA5_LAND/HOURLY` | Reanalysis hourly |
| NOAA GOES SST | `NOAA/CDR/OISST/V2_1` | Daily sea surface temp |
| ESA WorldCover | `ESA/WorldCover/v200` | 10 m land cover |

---

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.