def create(client, user_id, group_id):
    """Create security credentials."""
    credentials = client.user.credentials(
        method="PUT", userId=user_id, groupId=group_id
    )
    return credentials