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

New to this? The user guide walks through setup, deploy, connecting an agent and the audit log end to end.

  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.1

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.1
File Size Uploaded Provenance Actions
akeyless_cloudrun_rta-0.1.1.tar.gz 38.5 kB With provenance Details for akeyless_cloudrun_rta-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 61.0 kB

Release files / akeyless_cloudrun_rta-0.1.1.tar.gz

Download URL akeyless_cloudrun_rta-0.1.1.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9362dbe743e6d9c09ac0631232091d1b2a352650755e603ee4a1efc6c41829c2
BLAKE2b-256 checksum
How to use checksums
cb16983d459916a8e6867a68acf64a306273fb0ae183c8aa7a3bc7e0a0156268
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 19, 2026.

Transparency log

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

Download URL akeyless_cloudrun_rta-0.1.1-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1eb48ca51289a8cf855feeb6e779862f316f99fc0875d48a422e15ce29c9a89b
BLAKE2b-256 checksum
How to use checksums
9b347253227e4d3d78e12cd2a5f87a1cedd5ff92f45eb13b6630ba572af2aa0f
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 19, 2026.

Transparency log

Security for akeyless-cloudrun-rta 0.1.1

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.1.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 19, 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.1 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