Skip to content

add validation to ensure ImpersonatedCredential can only be SA or User Credentials #1602

Open
@zhumin8

Description

@zhumin8

This line in javadoc specifies ImpersonatedCredential can only be SA or User Credentials in this create() method, but it is not enforced.

* should be either a user account credential or a service account credential.

For context: #1566 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions