Skip to main content

Akeyless RTA for Google Cloud Run

Let AI agents on Google Cloud query databases and act on cloud services without ever holding credentials. This package runs Akeyless Agentic Runtime Authority (RTA, also called ARA) on Cloud Run:

  • The Cloud Run service signs in to Akeyless with its service account (GCP auth method). No Akeyless keys in env vars or images.
  • Agents call query-db or service-execute; your Akeyless Gateway runs the query or action with credentials it keeps to itself and returns only results.
  • Callers are gated by Cloud Run IAM (roles/run.invoker).

Two ways to use it:

Mode When
MCP server on Cloud Run Any MCP client (ADK MCPToolset, Gemini, Claude, Cursor)
Embedded client library Your agent already runs on Cloud Run and calls Python directly

Quick start

  1. Set up the Gateway, auth method and role: docs/AKEYLESS_SETUP.md
  2. Deploy: docs/CLOUD_RUN_DEPLOY.md

Embedded

pip install akeyless-cloudrun-rta
from akeyless_cloudrun_rta import AkeylessRtaClient

client = AkeylessRtaClient()  # AKEYLESS_GATEWAY_URL, AKEYLESS_ACCESS_ID from env; access type gcp
for secret in client.list_secrets():
    print(secret.name, secret.target_type)

result = client.query_db("SELECT count(*) FROM orders", secret_name="/prod/orders-db")
print(result.results)

MCP server (local run)

pip install 'akeyless-cloudrun-rta[mcp]'
PORT=8080 akeyless-cloudrun-rta-mcp   # serves http://localhost:8080/mcp

Tools

Tool Purpose
list-secrets RTA-enabled secrets: names and types only (hidden when AKEYLESS_DEFAULT_SECRET_NAME is set)
query-db SQL / NoSQL query on a database secret
service-execute Cloud, Kubernetes, GitHub, custom MCP action, or a remote command on SSH / Windows / LDAP items
list-sub-tools Optional discovery for service secrets and remote items

Tool names, descriptions and arguments match the Akeyless Go MCP server (akeyless mcp-runtime-authority) and the Bedrock AgentCore package.

Examples

Development

python -m venv .venv && . .venv/bin/activate
pip install -e '.[dev,mcp]'
pytest

Releases are automated from tags; see docs/RELEASING.md.

License

Apache-2.0

Metadata

Release files for akeyless-cloudrun-rta 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akeyless-cloudrun-rta 0.1.0
File Size Uploaded Provenance Actions
akeyless_cloudrun_rta-0.1.0.tar.gz 34.7 kB With provenance Details for akeyless_cloudrun_rta-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for akeyless-cloudrun-rta 0.1.0
File Interpreter ABI Platform Actions
akeyless_cloudrun_rta-0.1.0-py3-none-any.whl Python 3 none any Details for akeyless_cloudrun_rta-0.1.0-py3-none-any.whl

Total release size: 57.1 kB

Release files / akeyless_cloudrun_rta-0.1.0.tar.gz

Download URL akeyless_cloudrun_rta-0.1.0.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8844c43986cf1a1c3fca4de04cc88ca85ff99c41768961db963c10bed691c613
BLAKE2b-256 checksum
How to use checksums
d8305229ce864d73cbc3b2786dd7bdf6025b028c40a1648973d2503aa14bba3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / akeyless_cloudrun_rta-0.1.0-py3-none-any.whl

Download URL akeyless_cloudrun_rta-0.1.0-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0a89a265cc62b37e85f9b7929db19626bb81095a595cafb7fd38b7dff43cd14
BLAKE2b-256 checksum
How to use checksums
bfe26a6c4512b34f66b3bbdefb5694e581ff6609c8a7cda0d796e72e6c86434c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for akeyless-cloudrun-rta 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for akeyless_cloudrun_rta-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page