Python plugin supporting AWS CLI v1 for the Okera Data Access Service
Project description
Okera access control for AWS S3 CLI v1
Dependencies
Required:
Python 3.6+
AWS CLI v1 for Python 3.6
jwt, requests, pytz, urllib3, pathlib
pip3 install jwt requests pytz urllib3 pathlib
Installation
pip3 install okera_fs_aws
To verify:
>>> import okera.odas
>>> okera.odas.version()
'OKERA_RELEASE_VERSION'
Usage
If ~/.aws/config doesn’t exist the user should create it by running aws configure. The values the user enters for the access and secret key will not effect the use of the okera_fs plugin. The ‘plugins’ definition below indicates the AWS CLI should load the ‘okera_fs’ python module found on it’s sys.path. The [profile okera] section parameterizes the Okera CLI plugin.
Example of the okera_fs updates to ~/.aws/config
[profile okera] okera = proxy = https://<CDAS rest server host>:5010 rest = https://<CDAS rest server host>:8083 token = <User's JWT token> [plugins] okera = okera_fs_aws
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
okera_fs_aws-2.7.0b1.tar.gz
(22.3 kB
view hashes)
Built Distribution
okera_fs_aws-2.7.0b1-py3.6.egg
(10.9 kB
view hashes)