googleapis.com

The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run.

🔑 oauth2 9 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Gets the current system policy in the specified location.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://binaryauthorization.googleapis.com/v1beta1/{name}
Lists attestors. Returns INVALID_ARGUMENT if the project does not exist.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://binaryauthorization.googleapis.com/v1beta1/{parent}/attestors
Gets the access control policy for a resource. Returns an empty policy if the…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://binaryauthorization.googleapis.com/v1beta1/{resource}:getIamPolicy
Endpoints (9 total)
GET
/v1beta1/{name}
Gets the current system policy in the specified location.
GET
/v1beta1/{parent}/attestors
Lists attestors. Returns INVALID_ARGUMENT if the project does not exist.
GET
/v1beta1/{resource}:getIamPolicy
Gets the access control policy for a resource. Returns an empty policy if the…
POST
/v1beta1/{parent}/attestors
Creates an attestor, and returns a copy of the new attestor. Returns NOT_FOUN…
POST
/v1beta1/{resource}:setIamPolicy
Sets the access control policy on the specified resource. Replaces any existi…
POST
/v1beta1/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource. If the resou…
POST
/v1beta1/{attestor}:validateAttestationOccurrence
Returns whether the given Attestation for the given image URI was signed by t…
PUT
/v1beta1/{name}
Updates an attestor. Returns NOT_FOUND if the attestor does not exist.
DELETE
/v1beta1/{name}
Deletes an attestor. Returns NOT_FOUND if the attestor does not exist.
At a glance
Total SDKs10
Languages6
Endpoints9
Authoauth2
Categories2
https://binaryauthorization.googleapis.com