create_trust_anchor
¶
create_trust_anchor(
name: ResourceName,
source: Source,
*,
config_overrides: Optional[RolesAnywhereClientConfig] = None,
enabled: Optional[bool] = None,
tags: Optional[TagList] = None,
notification_settings: Optional[NotificationSettings] = None,
) -> TrustAnchorDetailResponse
Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA). You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.
Required permissions: rolesanywhere:CreateTrustAnchor.
Parameters:
-
name(ResourceName) –The name of the trust anchor.
-
source(Source) –The trust anchor type and its related certificate data.
-
enabled(Optional[bool], default:None) –Specifies whether the trust anchor is enabled.
-
tags(Optional[TagList], default:None) –The tags to attach to the trust anchor.
-
notification_settings(Optional[NotificationSettings], default:None) –A list of notification settings to be associated to the trust anchor.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ValidationException–Validation exception error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rolesanywhere/_services/roles_anywhere.py
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 | |