aurora-term
AWS Aurora Serverless interactive terminal.
Introduction
The aurora-term app allows you to run SQL statements against Aurora Serverless databases without establishing a persistent connection, this is easily achieved thanks to the Data-API.
Besides the non-persistent connection it works just as any other interactive terminal like mysql-cli and psql.
Requirements
Python 3 and Pip.
An AWS IAM user authorized to access the Data API (with the AmazonRDSDataFullAccess policy for example).
Access key and secret access key properly configured for the same user (it can be done using the aws-cli).
Installation
The easiest and recommended way to install it is using Pip.
pip install aurora-term
Usage
Just specify the database cluster ARN, the secret manager ARN and the database name.
aurora-term --cluster="arn:aws:rds:..." --secret="arn:aws:secretsmanager:..." mydb
TIP:
There are a few environment variables that might come in handy, you can set them to avoid the need to pass all the credentials when starting aurora-term.
AWS_PROFILE Profile to be used.
RDS_CLUSTER_ARN Aurora cluster ARN.
RDS_SECRET_ARN Secret manager ARN.
RDS_DB_NAME Database name.
e.g.
export RDS_CLUSTER_ARN="arn:aws:rds:..." export RDS_SECRET_ARN="arn:aws:secretsmanager:..." aurora-term mydb
The interactive terminal looks like as follow.
aurora-term (0.1.0) Type "help" or "?" for help. mydb=#
For more usage details.
aurora-term -h
Metadata
Release files for aurora-term 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aurora-term-0.1.0.tar.gz | 5.1 kB | Without provenance | Details for aurora-term-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aurora_term-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for aurora_term-0.1.0-py3-none-any.whl |
Total release size: 11.1 kB
Release files / aurora-term-0.1.0.tar.gz
| Download URL | aurora-term-0.1.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48128a76d9f51007f3979529a7aa411257199d2d010d88cf85d9fd6f90ac1289
|
|
BLAKE2b-256 checksum How to use checksums |
66f7c46903c8217b3ed5b69002e9d8d902ef6f4989d06be0bfd33d97c4293b58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/3.7.7 Darwin/19.6.0
|
Release files / aurora_term-0.1.0-py3-none-any.whl
| Download URL | aurora_term-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd51f3693d01ed889ffac9049208a21aa4787f1e41610d0c241025a21557a9cc
|
|
BLAKE2b-256 checksum How to use checksums |
b46548366e89a79f476c3dc20a700bf99afc14202bc71c3dd21426f091a59b3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/3.7.7 Darwin/19.6.0
|
Security for aurora-term 0.1.0
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.