Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(types): update identity types #4189

Merged
merged 2 commits into from
Nov 18, 2022
Merged

Conversation

syall
Copy link
Contributor

@syall syall commented Nov 15, 2022

Issue

Issue number, if available, prefixed with "#"

N/A

Description

What does this implement/fix? Explain your changes.

As part of refactoring identity resolution, update the existing
types and add new types with backwards compatibility.

Use the VS Code "Rename Symbol" tool for:

  • Credentials to AwsCredentialIdentity
  • CredentialProvider to AwsCredentialIdentityProvider

Manually rename using \bCredentialProvider\b and \bCredentials\b:

  • Credentials to AwsCredentialIdentity
  • CredentialProvider to AwsCredentialIdentityProvider

Manually rename using \bTokenProvider\b and \bToken\b:

  • Token to TokenIdentity
  • TokenProvider to TokenIdentityProvider

Testing

How was this change tested?

  1. yarn build:all
  2. yarn test:all

Additional context

Add any other context about the PR here.

N/A


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@syall syall force-pushed the sra-identity-types branch 4 times, most recently from 6b3d54f to 5a8af94 Compare November 15, 2022 05:10
@syall syall marked this pull request as ready for review November 15, 2022 07:58
@syall syall requested a review from a team as a code owner November 15, 2022 07:58
packages/types/src/credentials.ts Show resolved Hide resolved
packages/types/src/token.ts Show resolved Hide resolved
packages/types/src/credentials.ts Show resolved Hide resolved
packages/types/src/identity/Identity.ts Outdated Show resolved Hide resolved
packages/types/src/identity/Identity.ts Outdated Show resolved Hide resolved
Steven Yuan added 2 commits November 17, 2022 18:27
As part of refactoring identity resolution, update the existing
types and add new types with backwards compatibility.
Use the VS Code "Rename Symbol" tool for:

- `Credentials` to `AwsCredentialIdentity`
- `CredentialProvider` to `AwsCredentialIdentityProvider`

Manually rename using `\bCredentialProvider\b` and `\bCredentials\b`:

- `Credentials` to `AwsCredentialIdentity`
- `CredentialProvider` to `AwsCredentialIdentityProvider`

Manually rename using `\bTokenProvider\b` and `\bToken\b`:

- `Token` to `TokenIdentity`
- `TokenProvider` to `TokenIdentityProvider`
@trivikr trivikr merged commit aa73203 into aws:main Nov 18, 2022
@syall syall deleted the sra-identity-types branch November 22, 2022 18:00
@github-actions
Copy link

github-actions bot commented Dec 7, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants