メインコンテンツまでスキップ

CLI ガイド

コマンドラインから secretctl を使用する方法を学びます。

クイックリファレンス

# Vault を初期化
secretctl init

# シークレットを管理
echo "value" | secretctl set KEY
secretctl get KEY
secretctl list
secretctl delete KEY

# シークレット付きでコマンドを実行
secretctl run -k KEY -- your-command

# シークレットをエクスポート
secretctl export -o .env

# パスワードを生成
secretctl generate

ガイド

リファレンス

完全なコマンドドキュメントは CLI コマンドリファレンス を参照してください。