nm_iam_configuration_role_add_policy()
DESCRIPTION
Add a policy reference to a role.
DECLARATION
bool nm_iam_configuration_role_add_policy(struct nm_iam_role* role, const char* policy)
PARAMETERS
- role:
- [in] The role to add policy to.
- policy:
- [in] is the name of an nm_iam_policy. The string is copied into the role.
RETURNS
false iff the policy could not be added