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
# シェル補完を有効にする
secretctl completion bash # または zsh, fish, powershell
ガイド
リファレンス
完全なコマンドドキュメントは CLI コマンドリファレンス を参照してください。