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.--realm
The authentication realm in the Cyral control plane. This is usually not needed. Please contact Cyral Support for help if authentication is failing without this option.--version
Show package version and exit.--help
Show command help.
Top Level Commands
access
Tools for accessing different options on the cyral CP
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.
sidecar
Tools for interacting with the Cyral sidecars
It has the following subcommands:
get
Get information for a sidecar or sidecars.set
Set options on a sidecar.
set
Set options for a Cyral sidecar. It has the following subcommands:
log-level
Sets the log level for sidecar service(s).
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
Built Distribution
File details
Details for the file cyral-2.2.2.tar.gz
.
File metadata
- Download URL: cyral-2.2.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87191e0bc8b393e80ae4f175e6b91b6fe0b368e9062ffcc90c714c45426230cf |
|
MD5 | a92ff00c5e18ba90727e3344a32e7986 |
|
BLAKE2b-256 | 8c1a28b333a6f5560637dfd8331e08e4bd1a3250ea2c28287b9d5f0a6a3a2885 |
File details
Details for the file cyral-2.2.2-py3-none-any.whl
.
File metadata
- Download URL: cyral-2.2.2-py3-none-any.whl
- Upload date:
- Size: 19.3 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 | fa305c6e2b79f35ede76831e3d8f955a082c8c1f82f067ea8c7d3b97e1be9ab7 |
|
MD5 | e1ebcf33bb14a4bb67beff85ee104cde |
|
BLAKE2b-256 | dc36610f34ed90ea401aea775f7db5e64545bfd2357cf564c8cc283beeae7bdc |