# make_credentials_for_braket

Source: https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.credentials.make_credentials_for_braket

```python
fireopal.credentials.make_credentials_for_braket(arn)
```

Build credentials for accessing AWS Braket quantum backends.

Use this function when you want to run circuits on Braket devices through Fire Opal.
The IAM role identified by `arn` must have Braket permissions and must trust
Q-CTRL’s AWS account.

Pass the returned `Credentials` dict as the `credentials`
argument to functions such as [`execute()`](https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.execute.md#fireopal.execute) or
[`show_supported_devices()`](https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.show_supported_devices.md#fireopal.show_supported_devices).

### Parameters
**arn** (*str*) – The Amazon Resource Name (ARN) of an IAM role with Braket permissions
that trusts Q-CTRL’s AWS account, for example,
`"arn:aws:iam::<account-id>:role/<role-name>"`.
### Returns
*Credentials* –

  A dict of the form:
  ```default
  {"arn": arn, "organization_id": "<your_qctrl_org_id>", "provider": "braket"}
  ```

## Notes

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