Resolves and validates the credential provider type for a target. When no credential provider is
supplied — or one is supplied without a type (e.g. credentialProvider: {}) — it defaults to
GATEWAY_IAM_ROLE (the safe default: the gateway invokes the tool with its own execution role).
A value outside GatewayTargetCredentialProviderType is rejected as invalid; a
known-but-unsupported value is rejected as not yet supported. Both name the offending target and
value.
Resolves and validates the credential provider type for a target. When no credential provider is supplied — or one is supplied without a
type(e.g.credentialProvider: {}) — it defaults toGATEWAY_IAM_ROLE(the safe default: the gateway invokes the tool with its own execution role). A value outside GatewayTargetCredentialProviderType is rejected as invalid; a known-but-unsupported value is rejected as not yet supported. Both name the offending target and value.