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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fujin_secrets_1password-0.20.7.tar.gz
Algorithm Hash digest
SHA256 5bebb88000b185a910cf4514f8f0a98ca2014cfc2b88a034387fd0e24be09041
MD5 21777b05092cb70297dc1a827a9a9121
BLAKE2b-256 5d67cbc55a03dfd51c819340469e0c451c0921ee753509d8a82c77131e25469b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fujin_secrets_1password-0.20.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2be5622251adf19f4be839c489fc810d9589a664abfa0436be1bad974f4d38ec
MD5 9b43f165c71792023b1f950b96caa1f5
BLAKE2b-256 3739aa4bed0fb3334323ea0d01283d5d16b1cf310d9ff1db2169dfb28f64a7bb

See more details on using hashes here.

Provenance

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