Граф коммитов

145 Коммитов

Автор SHA1 Сообщение Дата
Joel Hendrix f871fa8933
Return AuthenticationFailedError by pointer (#17826)
To be consistent with other errors returned from our SDKs.
2022-05-05 17:14:06 -07:00
Zhongcheng Lao d2e7472bf1
DefaultAzureCredential reads AZURE_CLIENT_ID for user-assigned managed identities (#17293) 2022-04-15 09:22:23 -07:00
Charles Lowell fd2317b7a9
Remove AuthorizationCodeCredential (#17574) 2022-04-15 08:50:56 -07:00
Charles Lowell 126bbb3483
GetToken() returns an error when the caller specifies no scope (#17573) 2022-04-13 11:04:34 -07:00
Charles Lowell 6b8b2d9581
Prevent AzureCLICredential panic on unexpected error (#17491) 2022-04-12 11:36:32 -07:00
Azure SDK Bot c049b95582
Increment version for azidentity releases (#17456)
Increment package version after release of azidentity
2022-04-06 00:42:55 +00:00
Charles Lowell 9514e5f777
Update azidentity to use new cloud config API (#17438) 2022-04-05 16:55:43 -07:00
Azure SDK Bot c764942f49
Increment package version after release of azidentity (#17246) 2022-03-09 15:50:44 -08:00
Charles Lowell 4cfc2d145d
Prevent ChainedTokenCredential data race (#17170) 2022-03-04 10:21:59 -08:00
Charles Lowell d67aff0d17
Upgrade App Service managed identity version (#17086) 2022-02-17 12:35:40 -08:00
Azure SDK Bot 270940a274
Increment version for azidentity releases (#17011)
Increment package version after release of azidentity
2022-02-09 01:26:54 +00:00
Charles Lowell 24f005c7b1
Remove empty changelog section (#17007) 2022-02-08 21:46:09 +00:00
Charles Lowell b7e4d63b95
Revise azidentity error messages (#16986) 2022-02-08 11:25:31 -08:00
Charles Lowell af2eedda06
Cloud Shell doesn't support user assigned identities (#16946) 2022-02-01 14:02:20 -08:00
Daniel Rodríguez 5a344195de
[Identity] Improving DefaultAzureCredential diagnosability (#16844)
This PR aims to improve the diagnosability of the `DefaultAzureCredential` (and the `ChainedTokenCredential`) by aggregating all the errors that might have occurred on the credential chain during `GetToken` calls into a single message provided via logs and errors if the chain is finally unable to retrieve a token.

Note: On #15923 it was mentioned to link to the troubleshooting guide on these aggregated errors, but it really makes the most sense on the underlying errors. I have made a separate issue to track that effort https://github.com/Azure/azure-sdk-for-go/issues/16843

Fixed #15923
2022-01-28 21:09:41 -05:00
Azure SDK Bot 908c4b3b5a
Increment version for azidentity releases (#16799)
Increment package version after release of azidentity
2022-01-11 20:14:56 +00:00
Charles Lowell ab1855ce1c
Align authentication errors with azcore.ResponseError (#16777) 2022-01-11 19:22:55 +00:00
Daniel Rodríguez 774c0623b6
[azidentity] Making ChainedTokenCredential re-use the first successful credential (#16392)
This PR makes it so instances of `ChainedTokenCredential` will now re-use the first successful credential on `GetToken` calls.

Fixed #16268
2022-01-11 13:53:18 -05:00
Charles Lowell 2aed08d1e9
Refactor IMDS discovery to remove probing, stop caching failures (#16267) 2022-01-07 16:50:19 -08:00
Azure SDK Bot dfdc424c55
Increment version for azidentity releases (#16060)
Increment package version after release of azidentity
2021-11-02 22:18:35 +00:00
Charles Lowell f80f698679
Set release date for azidentity v0.12.0 (#16053) 2021-11-02 12:08:34 -07:00
Charles Lowell e89c102790
Refactor NewClientCertificateCredential (#15683) 2021-10-28 10:25:39 -07:00
Charles Lowell 47db7e2935
Revise azidentity errors (#15924) 2021-10-27 08:25:52 -07:00
Charles Lowell 802eda0453
Align azidentity environment variables with other SDKs (#15928) 2021-10-26 10:57:55 -07:00
Charles Lowell 6f3d9594ba
Add AzureCLICredentialOptions.TenantID (#15761) 2021-10-22 17:05:26 -07:00
Charles Lowell 91e699a66c
Add DefaultAzureCredential struct (#15759) 2021-10-22 16:37:35 -07:00
Charles Lowell 42f5f0cd17
Fix azidentity CI (#15886) 2021-10-22 16:19:12 -07:00
Charles Lowell 2ba64eb192
Add Context to device code callback (#15762) 2021-10-19 11:33:08 -07:00
Charles Lowell 2492a9bd51
Move NewManagedIdentityCredential's id parameter into ManagedIdentityCredentialOptions (#15637) 2021-10-04 14:57:23 -07:00
Charles Lowell 2a70989ec4
Remove NewAuthenticationPolicy from credentials (#15677) 2021-10-01 08:01:10 -07:00
Charles Lowell fc7e80ccf2
Remove azidentity.AADAuthenticationFailedError (#15660) 2021-09-29 09:55:36 -07:00
Charles Lowell a0738d98c2
Remove ClientSecret and Port from browser credential options (#15634) 2021-09-27 08:26:38 -07:00
Charles Lowell b72b333859
NewClientCertificateCredential requires certificate bytes instead of path (#15604) 2021-09-24 10:09:09 -07:00
Charles Lowell 4f444f0422
Remove credential exclusion switches from DefaultAzureCredentialOptions (#15619) 2021-09-23 08:01:29 -07:00
Charles Lowell 6cc90dc466
Add ChainedTokenCredentialOptions (#15591) 2021-09-21 15:54:02 -07:00
Charles Lowell 9c875cbd40
Add type for credential authority hosts (#15574) 2021-09-20 08:47:55 -07:00
Sean Kane a76bfe73d1
Patching Changelogs (#15524)
* removing v in changelogs for better play with engsys

* fixing date on synapse

* removing line per wes's rec

* temporary comment for docgo situation

* build constraints

* fmt

* disabling doc.go step on arm packages

* using if statement in powershell
2021-09-16 10:10:58 -04:00
Charles Lowell 57625dbd8d
Update changelog for azidentity 0.11.0 (#15500) 2021-09-08 15:00:52 -07:00
Charles Lowell f31e284d36
Unexport AzureCLITokenProvider (#15427) 2021-09-01 16:29:30 -07:00
Sean Kane 26ebb549cd
Updating azcore & azidentity changelog (#15423)
<!--
Thank you for contributing to the Azure SDK for Go.

Please verify the following before submitting your PR, thank you!
-->

- [ ] The purpose of this PR is explained in this or a referenced issue.
- [ ] The PR does not update generated files.
   - These files are managed by the codegen framework at [Azure/autorest.go][].
- [ ] Tests are included and/or updated for code changes.
- [ ] Updates to [CHANGELOG.md][] are included.
- [ ] MIT license headers are included in each file.

[Azure/autorest.go]: https://github.com/Azure/autorest.go
[CHANGELOG.md]: https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md
2021-09-01 14:20:24 +00:00
Joel Hendrix af32bacab1
Update based on azcore refactor (#15383)
Fixed some linter warnings.
Renamed UserAgent to component per new telemetry policy.
Version const is no longer exported.
2021-08-30 11:21:55 -07:00
Sean Kane ea571ad17c
[azidentity] bump azcore and internal dependencies (#15348) 2021-08-20 18:12:44 +00:00
Charles Lowell cf0793e301
Prevent ManagedIdentityCredential mutating GetToken arguments (#15331) 2021-08-20 09:03:59 -07:00
Sean Kane 67c3b759f5
adding dates to existing changelogs (#15306) 2021-08-18 15:31:24 +00:00
Sean Kane d1b9cd65c9
[azidentity] adding a changelog to azidentity (#15240)
closes #15235
2021-08-09 20:27:59 +00:00