Skip to main content

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.
  • 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


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.3.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

cyral-2.3.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file cyral-2.3.0.tar.gz.

File metadata

  • Download URL: cyral-2.3.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.11

File hashes

Hashes for cyral-2.3.0.tar.gz
Algorithm Hash digest
SHA256 f99515c2347ce8d8c3fd51146a0975cf158f27d88711de4afb46ea0219697e0b
MD5 04df3d26fe171fa8daa9dc947d8fd835
BLAKE2b-256 9a656828f35cff1732752f5fea93c53c71cb1fe11bbd045ea66863012ef08a2e

See more details on using hashes here.

File details

Details for the file cyral-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: cyral-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.11

File hashes

Hashes for cyral-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f95413f7b5b025ed7da2d6159e082f9882cd8a091982c0a053ee6e3a989703e
MD5 fa069c1dcf3c48308827fb6883c63b83
BLAKE2b-256 c93ca65af27bbe0ac9f5ce63d19a810df42fe2fd48c49ec5029ad98d9e6d295d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page