Skip to main content

1Password secret adapter for Fujin

Project description

Fujin Secrets - 1Password

1Password secret adapter for Fujin deployment tool.

Installation

pip install fujin-secrets-1password

Or with uv:

uv pip install fujin-secrets-1password

Prerequisites

Download and install the 1Password CLI and sign in to your account.

You need to be actively signed in for Fujin to work with 1Password.

Configuration

Add the following to your fujin.toml file:

[secrets]
adapter = "1password"

Usage

In your environment file (.env or configured via envfile in fujin.toml), use 1Password secret references:

DEBUG=False
AWS_ACCESS_KEY_ID=$op://personal/aws-access-key-id/password
AWS_SECRET_ACCESS_KEY=$op://personal/aws-secret-access-key/password

The secret reference format is: $op://vault/item/field

How it Works

The adapter:

  1. Uses the existing 1Password CLI session (requires you to be signed in)
  2. Resolves all secrets concurrently using op read <reference>
  3. Returns the resolved environment variables

Related

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

fujin_secrets_1password-0.21.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fujin_secrets_1password-0.21.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file fujin_secrets_1password-0.21.1.tar.gz.

File metadata

File hashes

Hashes for fujin_secrets_1password-0.21.1.tar.gz
Algorithm Hash digest
SHA256 5db1e4cca249a7fc794ac3ea71621be0fc34a7067be0d681a7989f5ba6662dec
MD5 980550a9cc4c12895b77dfa52477ff73
BLAKE2b-256 f0cffae0113bfde606c83fe3fd2639e3e892ab59ee0237e7ccc8baef882587d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for fujin_secrets_1password-0.21.1.tar.gz:

Publisher: publish.yml on Tobi-De/fujin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fujin_secrets_1password-0.21.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fujin_secrets_1password-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ae7bf13f312c28babe0ecbd1b8cd063a2050d82d47de27c75da7e0cac442e78
MD5 e364f0fb875a72e26a2785fa17d3aca3
BLAKE2b-256 d0c0b2b5ca8068c7672a74f7d98f8357b1b971182b9fdbfd6b7c13c8db9b16c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fujin_secrets_1password-0.21.1-py3-none-any.whl:

Publisher: publish.yml on Tobi-De/fujin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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