Login mfa-token-sign - AWS CloudHSM

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Login mfa-token-sign

Gunakan login mfa-token-sign perintah di AWS CloudHSM CloudHSM CLI login menggunakan otentikasi multifaktor. Untuk menggunakan perintah ini, Anda harus terlebih dahulu mengatur MFA untuk CloudHSM CLI.

Jenis pengguna

Pengguna berikut dapat menjalankan perintah ini.

  • Admin

  • Pengguna kripto (CU)

Sintaksis

aws-cloudhsm > help login mfa-token-sign Login with token-sign mfa USAGE: login --username <USERNAME> --role <ROLE> mfa-token-sign --token <TOKEN> OPTIONS: --cluster-id <CLUSTER_ID> Unique Id to choose which of the clusters in the config file to run the operation against. If not provided, will fall back to the value provided when interactive mode was started, or error --token <TOKEN> Filepath where the unsigned token file will be written -h, --help Print help

Contoh

aws-cloudhsm > login --username test_user --role admin mfa-token-sign --token /home/valid.token Enter password: Enter signed token file path (press enter if same as the unsigned token file): { "error_code": 0, "data": { "username": "test_user", "role": "admin" } }

Pendapat

<CLUSTER_ID>

ID cluster untuk menjalankan operasi ini pada.

Wajib: Jika beberapa cluster telah dikonfigurasi.

<TOKEN>

Filepath tempat file token yang tidak ditandatangani akan ditulis.

Wajib: Ya

Topik terkait