로그인 mfa-token-sign - AWS CloudHSM

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

로그인 mfa-token-sign

멀티 팩터 인증을 사용하여 AWS CloudHSM CloudHSM CLI 로그인에서 login mfa-token-sign 명령을 사용합니다. 이 명령을 사용하려면 먼저 CloudHSM CLI용 MFA를 설정해야 합니다.

사용자 유형

다음 사용자가 이러한 명령을 실행할 수 있습니다.

  • 관리자

  • CU(Crypto User)

구문

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

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" } }

인수

<CLUSTER_ID>

이 작업을 실행할 클러스터의 ID입니다.

필수: 여러 클러스터가 구성된 경우

<TOKEN>

서명되지 않은 토큰 파일이 작성되는 파일 경로입니다.

필수: 예

관련 주제