make_credentials_for_braket

fireopal.credentials.make_credentials_for_braket(arn)

Make a Credentials dictionary for Braket.

Parameters

arn (str) – The Amazon resource number for an IAM role that has Braket permissions and trusts Q-CTRL’s AWS account.

Returns

Credentials – A dictionary usable for the credentials argument of any Fire Opal web API function.

Return type

Dict[str, str]

Notes

This function performs only basic type checking of the credentials it receives. It does not check whether the credentials are valid for hardware access.

Was this useful?