The Cyral CLI tool
Project description
The Cyral CLI Tool
Use this tool to obtain credentials for accessing a data repo via the Cyral sidecar.
Note 1 This tool does not work with Cyral versions before 3.0. If you are using an older version of Cyral, please use the gimme-db-token tool instead.
Note 2 Use version 1.x of this tool for Cyral version 3.X and version 2.x for Cyral version 4.X and greater.
Usage
cyral <global options> <command> <subcommand> <command options>
For detailed usage instructions:
cyral --help
Global Options
--cp-address <control plane address>
Cyral Control Plane Address, e.g.,mycompany.app.cyral.com
(the address may need a :8000 suffix in some cases).--idp <idp alias>
The identity provider to use for authentication.--offline-access
Obtain a long-lived offline access token for authentication to the control plane.--no-stored-creds
Do not store or use a stored refresh token.--version
Show package version and exit.--help
Show command help.
Top Level Commands
The only top level command currently supported is access
. It has the following subcommands.
token
Print a token for authenticating to a repo using your email address as user name.repo
Show list of accessible data repos and print connection information for the selected repo.- Use
--type
,--tag
,--name
options to specify repo filters.
- Use
s3
Write configuration needed to access S3 to AWS config files.pg
Write configuration needed to access selected postgres database to.pgpass
file.
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
cyral-2.0.1.tar.gz
(14.4 kB
view details)
Built Distribution
cyral-2.0.1-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file cyral-2.0.1.tar.gz
.
File metadata
- Download URL: cyral-2.0.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09284cf43f37824449f610ecf4326c025f930724f61357e69c88e58803d3ee89 |
|
MD5 | c32010c3ce6c50dcea033076d53101a7 |
|
BLAKE2b-256 | dbb997cfccd7027f02ecafed58cedbb5b21f7cb7e023bf60527ddbd92f7edb72 |
File details
Details for the file cyral-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: cyral-2.0.1-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc9b8eed5737e585659b93ab59a341388ee5ed64abafa43bc76187167e9f83d |
|
MD5 | 8da2405ee8c0a3317152c69b87f85221 |
|
BLAKE2b-256 | 51918d8cf6e765566ec86ff8baead51b35da3cbe6d772a517e3d9fd44b6639a1 |