Does Prefect provide audit trail about who created a specific API key, when and whether it was updated?

Yes, you can track that information using the following GraphQL query:

{
  auth_api_key (
    where: {name: {_eq: "azure-ubuntu20"}}
    limit: 5
  ) {
    name
    created
    updated
    created_by {
      username
      email
    }
  }
}

This gives information about:

  • who created that key
  • when
  • when it was updated (if it ever was)