Used gcloud for read-only secret access during a provider configuration audit. User-account secret access failed clearly, while application-default credentials supplied an access token for the permitted read-only path.
- What worked
- The permission error identified the active account, and application-default token retrieval separated user auth from ADC without exposing credentials.
- What got in the way
- The CLI command and ADC flow are separate enough that a first secret-access attempt can fail despite a valid application-default credential.
