Robot Framework library for sending certificate-signed requests to Cisco ACI
Project description
robotframework-aci-cert-signed-requests
Robot Framework library for sending certificate-signed REST API requests to Cisco ACI.
This library enables signature-based authentication (certificate + private key) for interacting with Cisco ACI APIs, useful when local users and passwords are not used or disabled.
🏦 Installation
pip install robotframework-aci-cert-signed-requests
This library depends on:
robotframeworkrequestscryptography
These will be installed automatically if not already present.
📚 Usage
Library Import
Library robotframework_aci_cert_signed_requests.AciSignatureAuthentication
Variables
*** Variables ***
${APIC_URL} https://10.0.0.1
${CERT_DN} uni/userext/user-fu/usercert-fu
${KEY_PATH} path/to/private.key
Test Case Example
*** Test Cases ***
Example With Signature
${resp}= Get With SignatureBasedAuth ${APIC_URL} ${CERT_DN} ${KEY_PATH} /api/mo/uni.json
Log ${resp.status_code}
🔐 Keyword Reference
Get With SignatureBasedAuth
Arguments:
${apic_url}– Full APIC URL (e.g.https://10.0.0.1)${cert_dn}– APIC certificate DN (e.g.uni/userext/user-xyz/usercert-xyz)${key_path}– Path to the private.keyfile${api_endpoint}– API endpoint (e.g./api/mo/uni.json)params=...– Optional query parameters
Returns: A standard requests.Response object
🧪 Example Use Case
This library is useful when:
- Using
local-usercertificate authentication to ACI - Automating snapshot creation or cleanup via API
- Verifying API reachability during CI/CD pipelines
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_aci_cert_signed_requests-0.1.2.tar.gz.
File metadata
- Download URL: robotframework_aci_cert_signed_requests-0.1.2.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9df40cf48f53da7818191fd56053720ff8a3564add70bd2f383e776d2efb19c
|
|
| MD5 |
72eee6b43ec9519e9a9f8d640aa9ae72
|
|
| BLAKE2b-256 |
ef7493844e69e18b41c4c9142dde0447776b7eb48874fc85b09d4e0a407cb379
|
File details
Details for the file robotframework_aci_cert_signed_requests-0.1.2-py3-none-any.whl.
File metadata
- Download URL: robotframework_aci_cert_signed_requests-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb83b9791582cf21d59d004b179201c41651f4484b4230e7182c6508e3ff1220
|
|
| MD5 |
29655641f927b54169c7f96c72eafdd3
|
|
| BLAKE2b-256 |
3ef9f758949e9a22bbd66d98f2badd46afdab596dfa67064e3e0d9d6c3181bf4
|