Skip to main content

######################## Akeyless Api Gateway - the Python library for the AKEYLESS Vault API ########################

RESTFull API for interacting with AKEYLESS Vault API

Minimum requirements

  • Python 3.4+
  • certifi>=2017.4.17
  • python-dateutil>=2.1
  • six>=1.10
  • urllib3>=1.23

Installation

.. code:: $pip install akeyless_api_gateway


Usage


.. code:: from future import print_function

import time
import akeyless_api_gateway
from akeyless_api_gateway.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://127.0.0.1:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = akeyless_api_gateway.Configuration()
configuration.host = "https://127.0.0.1:8080"



# create an instance of the API class
api_instance = akeyless_api_gateway.DefaultApi(akeyless_api_gateway.ApiClient(configuration))
role_name = 'role_name_example' # str | The role name to associate
am_name = 'am_name_example' # str | The auth method name to associate
token = 'token_example' # str | Access token
sub_claims = 'sub_claims_example' # str | key/val of sub claims, ex. group=admins,developers (optional)

try:
    # Create an association between role and auth method
    api_response = api_instance.assoc_role_am(role_name, am_name, token, sub_claims=sub_claims)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->assoc_role_am: %s\n" % e)

License


This SDK is distributed under the Apache License, Version 2.0_ see LICENSE.txt for more information.

.. _Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Metadata

Release files for akeyless-api-gateway 0.1.2

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-api-gateway 0.1.2
File Size Uploaded Provenance
akeyless_api_gateway-0.1.2.tar.gz 31.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for akeyless-api-gateway 0.1.2
File Interpreter ABI Platform
akeyless_api_gateway-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 68.6 kB

Release files / akeyless_api_gateway-0.1.2.tar.gz

Download URL akeyless_api_gateway-0.1.2.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1088a09cf0c7e1dd4e7f58c93ed2f6c5e8f9e6f647e2227b129c126c3c4bce44
BLAKE2b-256 checksum
How to use checksums
4f82f3f9676d81e7a50dd8da5837b3046815096fc8891b6ac9ff90685e654870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / akeyless_api_gateway-0.1.2-py3-none-any.whl

Download URL akeyless_api_gateway-0.1.2-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db3ed2e06923e475434a0589a012c336ba62310881ad8dccb4366ee24f4e2925
BLAKE2b-256 checksum
How to use checksums
33aecb1d96718d0ea0bee580ce141c49a352927731276de6521698204e89f615
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for akeyless-api-gateway 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No 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