This release is a pre-release and may not be stable for production use.
Okera access control for AWS S3 CLI v1
Dependencies
Required:
Python 2,7, 3.6+
AWS CLI v1 for Python 2,7, 3.6+
jwt, requests, pytz, urllib3, pathlib
pip3 install jwt requests pytz urllib3 pathlib
Installation
pip3 install okera_fs_aws
To verify:
>>> import okera_fs_aws
>>> okera_fs_aws.version()
'2.7.0-b7'
Configuration
If ~/.aws/config does not exist the user should create it by running aws configure. The values assigned to access and secret key configurations will not effect the use of the okera_fs_aws plugin. The ‘plugins’ definition below indicates the AWS CLI should load the ‘okera_fs_aws’ python module found on it’s sys.path. The [profile okera] section parameterizes the Okera CLI plugin. There are two additional, optional parameters of the okera profile. The token_source value can be set to ‘authserver’. The mode value can be set to ‘proxy’ when the Access Proxy service operates in proxy mode.
Example of the okera_fs updates to ~/.aws/config
[profile okera]
okera =
proxy = https://<CDAS Access Proxy service host>:5010
rest = https://<CDAS REST server host>:8083
token = <User's JWT token>
[plugins]
okera = okera_fs_aws
Usage
aws s3 <command> --profile okera
Metadata
Release files for okera-fs-aws 2.7.0b7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| okera_fs_aws-2.7.0b7.tar.gz | 21.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| okera_fs_aws-2.7.0b7-py3.6.egg | Legacy Egg format | - | - | Details |
Total release size: 32.3 kB
Release files / okera_fs_aws-2.7.0b7.tar.gz
| Download URL | okera_fs_aws-2.7.0b7.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0787b2a1e5c017be1fe24a1317f0a6a7417fa1a3bcc335bd94ca67091ba71c27
|
|
BLAKE2b-256 checksum How to use checksums |
04593977226176782becd690a3c94101a6f65861e2c832f91b6429ad30c7d294
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
|
Release files / okera_fs_aws-2.7.0b7-py3.6.egg
| Download URL | okera_fs_aws-2.7.0b7-py3.6.egg |
|---|---|
| Size | 11.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
bcdb97d310b5b77e60258f27201ddbdeecd53b9d5ae5a911e7c0087a7e8f4379
|
|
BLAKE2b-256 checksum How to use checksums |
e1a349e8937e7733914468590b4976df7295a0cd128e975ae2cf6b588e5f0680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
|