auth

module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: Apache-2.0

README

engflow_auth

This repository provides engflow_auth, a Bazel credential helper that helps you automatically obtain and securely store EngFlow authentication tokens.

Installation

One-time setup
  1. Download the appropriate binary from the latest release page

  2. Copy the downloaded binary to a directory on the system $PATH and mark as executable (if necessary)

  3. Configure .bazelrc: In the .bazelrc file of either your project or user, add a build flag that sets --credential_helper for your cluster. For instance:

    build:engflow --credential_helper=example.cluster.engflow.com=/path/to/engflow_auth
    

    would configure the credential helper correctly when --config=engflow is passed to a bazel invocation. See Bazel's config documentation for more info on bazelrc files, and EngFlow setup documentation for EngFlow-specific setup and tips.

Use

Each day, run engflow_auth login [CLUSTER URL] to obtain an auth credential; the application will emit a URL to visit to complete the login process.

Reporting Issues

To report security vulnerabilities on engflow_auth, please send an email to security@engflow.com containing:

  • impact of the bug/vulnerability
  • steps to reproduce the issue
  • summary of expected vs. actual behavior observed

For usability bugs and feature requests, please contact us through your DSE or via our existing support channels.

Building

The CLI can be built via either the Go toolchain or Bazel; released binaries are built via Bazel.

To build release binaries, run:

bazel build --config=release //:release_artifacts

Contributing

We are not accepting pull requests from external contributors at this time due to both legal and technical reasons.

The best way to report serious bugs/vulnerabilities is via email to security@engflow.com (see above section);

If you are an EngFlow customer and would like feature additions or quality-of-life fixes, please discuss these with your DSE to get them appropriately prioritized.

Directories

Path Synopsis
cmd
engflow_auth command
infra
internal
buildstamp
Package buildstamp exports build metadata values that may be optionally set by the build system, for runtime inspection.
Package buildstamp exports build metadata values that may be optionally set by the build system, for runtime inspection.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL