cb-analytics-linkslisted
Install: claude install-skill celticht32/Couchbase-Skills-for-Claude.ai
# Managing Analytics links
A *link* in Analytics connects external storage so it can be queried as a
dataset. The 5 tools cover the lifecycle: list, get, create, update, delete.
## Link types and their config
### S3
```json
{
"type": "s3",
"region": "us-east-1",
"accessKeyId": "AKIA...",
"secretAccessKey": "...",
"serviceEndpoint": "https://s3.example.com", // optional (MinIO, etc.)
"sessionToken": "..." // optional (STS)
}
```
### Azure Blob
```json
{
"type": "azureblob",
"accountName": "myacct",
"accountKey": "...", // OR sharedAccessSignature
"sharedAccessSignature": "?sv=...",
"endpoint": "https://blob.example.com" // optional
}
```
### GCS
```json
{
"type": "gcs",
"jsonCredentials": "{...full service account JSON...}",
// OR
"applicationDefaultCredentials": true,
"endpoint": "https://storage.googleapis.com" // optional
}
```
### Remote Couchbase
```json
{
"type": "couchbase",
"hostname": "remote.example.com",
"username": "analytics",
"password": "...",
"encryption": "full", // none | half | full
"certificate": "-----BEGIN ...",
"clientCertificate": "...", // optional mTLS
"clientKey": "..."
}
```
## Credentials in audit logs
All of the above keys (accessKeyId, secretAccessKey, accountKey, jsonCredentials,
password, clientKey, etc.) are auto-redacted in the audit log. You can be
confident that passing credentials through `create_link` won't leave them in