[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Auth Library Client - Class IAMCredentials (1.47.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.47.1 (latest)](/php/docs/reference/auth/latest/Credentials.IAMCredentials)\n- [1.47.0](/php/docs/reference/auth/1.47.0/Credentials.IAMCredentials)\n- [1.46.0](/php/docs/reference/auth/1.46.0/Credentials.IAMCredentials)\n- [1.45.2](/php/docs/reference/auth/1.45.2/Credentials.IAMCredentials) \nReference documentation and code samples for the Google Auth Library Client class IAMCredentials.\n\nAuthenticates requests using IAM credentials.\n\nNamespace\n---------\n\nGoogle \\\\ Auth \\\\ Credentials\n\nMethods\n-------\n\n### __construct\n\n### getUpdateMetadataFunc\n\nexport a callback function which updates runtime metadata.\n\n### updateMetadata\n\nUpdates metadata with the appropriate header metadata.\n\nConstants\n---------\n\n### SELECTOR_KEY\n\n Value: 'x-goog-iam-authority-selector'\n\n### TOKEN_KEY\n\n Value: 'x-goog-iam-authorization-token'"]]