GoogleCloudPlatform / application-integration-management-toolkit

This tool lets you interact with Application Integration, Integration Connectors or Apigee Integration/Connector APIs. The tool lets you manage (create, del, get, list) integrations, connections etc.
Apache License 2.0
22 stars 16 forks source link

Add the OAuth2ResourceOwnerCredentials type to the AuthConfig.DecryptedCredential definition #277

Closed sinan-shaban-freestar closed 2 months ago

sinan-shaban-freestar commented 2 months ago

This PR closes #276

Currently the AuthConfig.DecryptedCredential definition doesn't include configuration for OAuth2ResourceOwnerCredentials credential type. We can create a file with the needed fields and set the type to be OAuth2ResourceOwnerCredentials and it successfully creates an auth profile but the solution feels hacky because the type is missing in the definitions.

Adding the OAuth2ResourceOwnerCredentials credential type and its fields will keep the source code consistent.