Is getting key attributes in Java supported in SDK 5?

0

The Java SDK allows key attributes to be set during creation using the attributes map. Is it possible to read the attributes back from an existing key?

질문됨 9달 전241회 조회
2개 답변
0

Hello, In this context, please note that the getPrivate() method is supported to "Get the value of a key attribute for an existing key”.

This is set using the Java class KeyPairAttributesMap to handle key attributes for a key pair. KeyPairAttributesMap encapsulates two KeyAttributesMap objects; one for a public key and one for a private key.

For more Information regarding the same, please refer the below mentioned document-

[x] https://docs.aws.amazon.com/cloudhsm/latest/userguide/java-lib-attributes_5.html#java-setting-attributes_5

That being said, if you would like resource based Information/troubleshooting, please raise a support case with AWS for further information. If a support case has already been created please be assured that we will get back to you and assist you in the best way possible.

AWS
Simmi_K
답변함 9달 전
profile pictureAWS
전문가
검토됨 9달 전
  • Thanks, but that will only get me the private key attributes from an existing map when creating a key. I need to get the attributes of an existing key. I will raise a support issue.

0

Please check this is code sample which may help with what you are looking for.

AWS
Shankar
답변함 9달 전
  • Thanks, but that only shows how to search for a key using key attributes. I need to get all the attributes of a key.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠