Skip to main content

Aserto Directory gRPC client

This is an automatically generated client for interacting with Aserto's Directory service using the gRPC protocol.

The code was generated from https://buf.build/aserto-dev/directory.

Installation

Using Pip

pip install aserto-directory

Using Poetry

poetry add aserto-directory

Usage

import grpc
from aserto.directory.reader.v3 import ReaderStub, GetObjectRequest

with grpc.secure_channel(
    target="directory.prod.aserto.com:8443",
    credentials=grpc.ssl_channel_credentials(),
) as channel:
    reader = ReaderStub(channel)

    # Read an object from the directory.
    response = reader.GetObject(
        GetObjectRequest(object_type="user", object_id="rick@the-citadel.com"),
        metadata=(
            ("authorization", f"basic {ASERTO_DIRECTORY_API_KEY}"),
            ("aserto-tenant-id", ASERTO_TENANT_ID),
        ),
    )

    print("Object:", object_type.result)

Metadata

Release files for aserto-directory 0.33.8

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

Source distribution (sdist)

Source distribution for aserto-directory 0.33.8
File Size Uploaded Provenance Actions
aserto_directory-0.33.8.tar.gz 53.2 kB Without provenance Details for aserto_directory-0.33.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aserto-directory 0.33.8
File Interpreter ABI Platform Actions
aserto_directory-0.33.8-py3-none-any.whl Python 3 none any Details for aserto_directory-0.33.8-py3-none-any.whl

Total release size: 144.3 kB

Release files / aserto_directory-0.33.8.tar.gz

Download URL aserto_directory-0.33.8.tar.gz
Size 53.2 kB
Tags Source
SHA-256 checksum
How to use checksums
05c297cf528313100263f6bda047d5fbd21aa2d80fde0f0239dd1fbb7314f3cd
BLAKE2b-256 checksum
How to use checksums
7fedb11b1b099e6f5e30474de1fa4b311469032011635ec41faf8c75059c28a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure

Release files / aserto_directory-0.33.8-py3-none-any.whl

Download URL aserto_directory-0.33.8-py3-none-any.whl
Size 91.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db252ffbdd24ddf8ebed3755f649796d2497aee489a4c2d3396516d2a6c1785b
BLAKE2b-256 checksum
How to use checksums
4795a565491cb2b0570422c9a95e768a37a3eab08c5a65031adc17fa69b76ca6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure

Security for aserto-directory 0.33.8

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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