def status(client, access_key, status=True):
    """Set security credentials status."""
    status = client.user.credentials.status(
        method="POST", accessKey=access_key, isActive=status
    )
    return status