run
1Passwordマニュアル|シークレットを安全に管理し、アプリケーションやスクリプトに環境変数として渡す方法を詳しく解説します。簡単で効率的なセキュリティー対策を実現しましょう。
op run -- <command> <command>... [flags]Flags
--env-file stringArray Enable Dotenv integration with specific Dotenv files to
parse. For example: --env-file=.env.
--no-masking Disable masking of secrets on stdout and stderr.export DB_PASSWORD="op://app-prod/db/password"op run -- printenv DB_PASSWORD
<concealed by 1Password>Last updated