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.24.0.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.24.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fujin_secrets_1password-0.24.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fujin_secrets_1password-0.24.0.tar.gz
Algorithm Hash digest
SHA256 35bcb7c9fa1b1b08acd754c36ebe67bdafa3c9427bc8d96011e2bfdd9eb21522
MD5 a6f5ef63177f91f2870ba09603a830df
BLAKE2b-256 16554c2d2d38f427d90357f0a91c98272013e507b432e4d875611f5150c91a12

See more details on using hashes here.

Provenance

The following attestation bundles were made for fujin_secrets_1password-0.24.0.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.24.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fujin_secrets_1password-0.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 376bf2a8afe979df8c580e66f06c2443d086ada8d23ba4055100dfef91fe06b5
MD5 ef6543c5e158def05b098c82eabeca10
BLAKE2b-256 f2b097585e7e5a828ae922a8418e1e337af94481d48e172a45683773c650250b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fujin_secrets_1password-0.24.0-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