Commit Graph

4 Commits

Author SHA1 Message Date
Larry Osterman
90089ad326
Cleaned up Azure::Core::Context API surface (#5676)
* Deprecated Azure::Core::ApplicationContext because its use is confusing and inconsistent with the original design. 

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-07-17 12:38:30 -07:00
Ahson Khan
79737f1473
Make several params to WorkloadIdentityCredential optional and read them from the environment instead. (#4893)
* Make several params to WorkloadIdentityCredential optional and read them from the environment instead.

* Fix typo in calling the ClientCredentialCore ctor

* Add changelog entry.

* Address PR feedback, avoid creating many WIC options instances.

* Update ctor impl and add options test.

* Set locals if the options are non-empty, and void unused variable in tests.

* Fixup the sample since the customer no longer needs to explicitly pass in those params.
2023-09-12 23:18:05 -07:00
Ahson Khan
f7452cc233
Update the workload identity credential sample to work with required environment variables that need to be set. (#4924)
* Update the workload identity credential sample to work with required environment variables that need to be set.

* Fix clang format.
2023-09-06 10:25:26 -07:00
Ahson Khan
66e36b0399
Add a sample on how to use Workload Identity Credential. (#4894) 2023-08-18 12:44:35 -07:00