I am trying to access a secret stored in secret manager, following this. It says:
Accessing a secret version requires the Secret Manager Secret Accessor role
(roles/secretmanager.secretAccessor) on the secret, project, folder, or organization.
IAM roles can't be granted on a secret version.
So, how do I apply the Secret Manager Secret Accessor role to the secret?