
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
| .gitignore
| .kvvars # specifies environment variables needed by "keyvault_certgen.py" & "keyvault_utils.py"
| LICENSE
| README.md
| requirements.txt # package dependencies
| requirements_dev.txt # required for packaging
| setup.py # for wrapping into a PyPI package
|
+---aicsapi_tool_python # actual codes
| appinsight_transport.py # for logging custom events w/ correlation id to Azure Appinsights
| keyvault_certgen.py # provides utilities to generate X509v3 cert and upload to Azure KV
| keyvault_tokenCache.py # for caching credentials to save login time
| keyvault_utils.py # device-code sign in to Azure, get/import secret & cert to Azure KV
| __init__.py
|
\---tests # test_*.py performs unit test for the corresponding module
test_appinsight_transport.py
test_keyvault_certgen.py
test_keyvault_tokenCache.py
test_keyvault_utils.py
A package to help Python API template in:
This package has been published to PyPI, so you can use
pip install aicsapi-tool-python
When calling methods in keyvault_utils
or keyvault_certgen
, be sure to have the following environment variables set:
KEY_VAULT_URL
KEY_VAULT_SECRET_NAME
KEY_VAULT_CERT_NAME
AZURE_TENANT_ID
.kvvars
under current working directoryKEY_VAULT_URL="https://[your keyvault name].vault.azure.net"
KEY_VAULT_CERT_NAME="certificate name"
AZURE_TENANT_ID="your azure tenant id"
python certgen.py [your ASUS account name] [filename of generated key & cert]
# certgen.py
from aicsapi_tool_python.keyvault_certgen import generate_v3cert, upload_v3cert_to_kv
import sys
asus_account = sys.argv[1]
cert_name = sys.argv[2]
generate_v3cert( asus_account, cert_name )
upload_v3cert_to_kv( cert_name + '.pfx' )
FAQs
Toolkit for Python backend template
We found that aicsapi-tool-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.