- 概要
- スタートアップガイド
- ユーザガイド
-
リファレンス
-
ABEJA Platform CLI
- CONFIG COMMAND
- DATALAKE COMMAND
- DATASET COMMAND
- TRAINING COMMAND
-
MODEL COMMAND
- check-endpoint-image
- check-endpoint-json
- create-deployment
- create-endpoint
- create-model
- create-service
- create-trigger
- create-version
- delete-deployment
- delete-endpoint
- delete-model
- delete-service
- delete-version
- describe-deployments
- describe-endpoints
- describe-models
- describe-service-logs
- describe-services
- describe-versions
- download-versions
- run-local
- run-local-server
- start-service
- stop-service
- submit-run
- update-endpoint
- startapp command
- SECRET COMMAND
- SECRET VERSION COMMAND
-
ABEJA Platform CLI
- FAQ
- Appendix
get
説明
特定のシークレットの詳細情報を ID で取得します。
概要
$ abeja secret get [--help]
Usage: abeja secret get [OPTIONS]
Get a specific secret
Options:
-s, --secret_id, --secret-id TEXT
Secret ID [required]
--organization_id, --organization-id TEXT
Organization ID. If not specified, the current
organization ID is used.
--help Show this message and exit.
オプション
-s
, --secret_id
, --secret-id
取得したいシークレットの ID を指定します。このオプションは必須です。
--organization_id
, --organization-id
組織 ID を指定します。指定しない場合は、設定から現在の組織 ID が使用されます。
例
ID で特定のシークレットを取得
コマンド:
$ abeja secret get --secret-id secret-abcdef123456
出力:
{
"id": "secret-abcdef123456",
"name": "database-password",
"description": "プロダクションデータベースのパスワード",
"created_at": "2023-05-01T10:30:00.000000Z",
"updated_at": "2023-05-01T10:30:00.000000Z",
"expired_at": "2025-05-01T10:30:00.000000Z",
"versions": [
{
"version": 1,
"value": "my-secure-password",
"created_at": "2023-05-01T10:30:00.000000Z"
}
]
}