├── .build └── custom.build.ps1 ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── General.md │ ├── Problem_with_module.yml │ ├── Problem_with_resource.yml │ ├── Resource_proposal.yml │ └── config.yml └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .markdownlint.json ├── .vscode ├── analyzersettings.psd1 ├── settings.json └── tasks.json ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── GitVersion.yml ├── LICENSE ├── README.md ├── RequiredModules.psd1 ├── Resolve-Dependency.ps1 ├── Resolve-Dependency.psd1 ├── SECURITY.md ├── azure-pipelines.yml ├── codecov.yml ├── images ├── aci.jpg ├── federatedcreds.jpg ├── linuxarcerror.jpg ├── obo.png ├── obo01.jpg ├── wam01.jpg ├── wam02.jpg ├── wam03.jpg └── wam04.jpg ├── source ├── Examples │ ├── aks-workloadidentity │ │ ├── Dockerfile │ │ ├── demo.ps1 │ │ ├── pod-deploy-pwsh.yaml │ │ ├── sa-aad.yaml │ │ └── script.ps1 │ └── managed-identity │ │ ├── Dockerfile │ │ ├── deploy.ps1 │ │ └── script.ps1 ├── PSMSALNet.psd1 ├── PSMSALNet.psm1 ├── Public │ ├── ConvertFrom-Jwt.ps1 │ ├── ConvertTo-X509Certificate2.ps1 │ ├── Get-EntraToken.ps1 │ ├── Get-KVCertificateWithPrivateKey.ps1 │ └── Get-KVCertificateWithPublicKey.ps1 ├── en-US │ └── about_PSMSALNet.help.txt ├── lib │ ├── DeviceCodeHelper.dll │ ├── Microsoft.Identity.Client.Broker.dll │ ├── Microsoft.Identity.Client.Extensions.Msal.dll │ ├── Microsoft.Identity.Client.NativeInterop.dll │ ├── Microsoft.Identity.Client.dll │ ├── Microsoft.IdentityModel.Abstractions.dll │ ├── PSMSALNetHelper.dll │ ├── WAMHelper.dll │ └── runtimes │ │ ├── win-arm64 │ │ └── native │ │ │ └── msalruntime_arm64.dll │ │ └── win-x64 │ │ └── native │ │ └── msalruntime.dll └── prefix.ps1 └── tests ├── QA └── module.tests.ps1 ├── Unit └── Public │ ├── ConvertFrom-Jwt.Tests.ps1 │ ├── ConvertTo-X509Certificate2.Tests.ps1 │ ├── Get-EntraToken.Tests.ps1 │ ├── Get-KVCertificateWithPrivateKey.Tests.ps1 │ └── Get-KVCertificateWithPublicKey.Tests.ps1 └── helpers ├── privatekey_rsa.key ├── readme.txt ├── scomnewbie.cer ├── scomnewbie.crt ├── scomnewbie.pem ├── scomnewbie.pfx ├── scomnewbie2.pem ├── secret.enc ├── testentracert.crt ├── testentracert.pfx └── wrongprivatekey_rsa.key /.build/custom.build.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.build/custom.build.ps1 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/General.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.github/ISSUE_TEMPLATE/General.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Problem_with_module.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.github/ISSUE_TEMPLATE/Problem_with_module.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Problem_with_resource.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.github/ISSUE_TEMPLATE/Problem_with_resource.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Resource_proposal.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.github/ISSUE_TEMPLATE/Resource_proposal.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.gitignore -------------------------------------------------------------------------------- /.markdownlint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.markdownlint.json -------------------------------------------------------------------------------- /.vscode/analyzersettings.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.vscode/analyzersettings.psd1 -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /GitVersion.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/GitVersion.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/README.md -------------------------------------------------------------------------------- /RequiredModules.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/RequiredModules.psd1 -------------------------------------------------------------------------------- /Resolve-Dependency.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/Resolve-Dependency.ps1 -------------------------------------------------------------------------------- /Resolve-Dependency.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/Resolve-Dependency.psd1 -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/SECURITY.md -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/azure-pipelines.yml -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/codecov.yml -------------------------------------------------------------------------------- /images/aci.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/aci.jpg -------------------------------------------------------------------------------- /images/federatedcreds.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/federatedcreds.jpg -------------------------------------------------------------------------------- /images/linuxarcerror.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/linuxarcerror.jpg -------------------------------------------------------------------------------- /images/obo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/obo.png -------------------------------------------------------------------------------- /images/obo01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/obo01.jpg -------------------------------------------------------------------------------- /images/wam01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/wam01.jpg -------------------------------------------------------------------------------- /images/wam02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/wam02.jpg -------------------------------------------------------------------------------- /images/wam03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/wam03.jpg -------------------------------------------------------------------------------- /images/wam04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/images/wam04.jpg -------------------------------------------------------------------------------- /source/Examples/aks-workloadidentity/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Examples/aks-workloadidentity/Dockerfile -------------------------------------------------------------------------------- /source/Examples/aks-workloadidentity/demo.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Examples/aks-workloadidentity/demo.ps1 -------------------------------------------------------------------------------- /source/Examples/aks-workloadidentity/pod-deploy-pwsh.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Examples/aks-workloadidentity/pod-deploy-pwsh.yaml -------------------------------------------------------------------------------- /source/Examples/aks-workloadidentity/sa-aad.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Examples/aks-workloadidentity/sa-aad.yaml -------------------------------------------------------------------------------- /source/Examples/aks-workloadidentity/script.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Examples/aks-workloadidentity/script.ps1 -------------------------------------------------------------------------------- /source/Examples/managed-identity/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Examples/managed-identity/Dockerfile -------------------------------------------------------------------------------- /source/Examples/managed-identity/deploy.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Examples/managed-identity/deploy.ps1 -------------------------------------------------------------------------------- /source/Examples/managed-identity/script.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Examples/managed-identity/script.ps1 -------------------------------------------------------------------------------- /source/PSMSALNet.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/PSMSALNet.psd1 -------------------------------------------------------------------------------- /source/PSMSALNet.psm1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/PSMSALNet.psm1 -------------------------------------------------------------------------------- /source/Public/ConvertFrom-Jwt.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Public/ConvertFrom-Jwt.ps1 -------------------------------------------------------------------------------- /source/Public/ConvertTo-X509Certificate2.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Public/ConvertTo-X509Certificate2.ps1 -------------------------------------------------------------------------------- /source/Public/Get-EntraToken.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Public/Get-EntraToken.ps1 -------------------------------------------------------------------------------- /source/Public/Get-KVCertificateWithPrivateKey.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Public/Get-KVCertificateWithPrivateKey.ps1 -------------------------------------------------------------------------------- /source/Public/Get-KVCertificateWithPublicKey.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/Public/Get-KVCertificateWithPublicKey.ps1 -------------------------------------------------------------------------------- /source/en-US/about_PSMSALNet.help.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/en-US/about_PSMSALNet.help.txt -------------------------------------------------------------------------------- /source/lib/DeviceCodeHelper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/DeviceCodeHelper.dll -------------------------------------------------------------------------------- /source/lib/Microsoft.Identity.Client.Broker.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/Microsoft.Identity.Client.Broker.dll -------------------------------------------------------------------------------- /source/lib/Microsoft.Identity.Client.Extensions.Msal.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/Microsoft.Identity.Client.Extensions.Msal.dll -------------------------------------------------------------------------------- /source/lib/Microsoft.Identity.Client.NativeInterop.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/Microsoft.Identity.Client.NativeInterop.dll -------------------------------------------------------------------------------- /source/lib/Microsoft.Identity.Client.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/Microsoft.Identity.Client.dll -------------------------------------------------------------------------------- /source/lib/Microsoft.IdentityModel.Abstractions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/Microsoft.IdentityModel.Abstractions.dll -------------------------------------------------------------------------------- /source/lib/PSMSALNetHelper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/PSMSALNetHelper.dll -------------------------------------------------------------------------------- /source/lib/WAMHelper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/WAMHelper.dll -------------------------------------------------------------------------------- /source/lib/runtimes/win-arm64/native/msalruntime_arm64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/runtimes/win-arm64/native/msalruntime_arm64.dll -------------------------------------------------------------------------------- /source/lib/runtimes/win-x64/native/msalruntime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/lib/runtimes/win-x64/native/msalruntime.dll -------------------------------------------------------------------------------- /source/prefix.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/source/prefix.ps1 -------------------------------------------------------------------------------- /tests/QA/module.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/QA/module.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/ConvertFrom-Jwt.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/Unit/Public/ConvertFrom-Jwt.Tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/ConvertTo-X509Certificate2.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/Unit/Public/ConvertTo-X509Certificate2.Tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Get-EntraToken.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/Unit/Public/Get-EntraToken.Tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Get-KVCertificateWithPrivateKey.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/Unit/Public/Get-KVCertificateWithPrivateKey.Tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Get-KVCertificateWithPublicKey.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/Unit/Public/Get-KVCertificateWithPublicKey.Tests.ps1 -------------------------------------------------------------------------------- /tests/helpers/privatekey_rsa.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/privatekey_rsa.key -------------------------------------------------------------------------------- /tests/helpers/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/readme.txt -------------------------------------------------------------------------------- /tests/helpers/scomnewbie.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/scomnewbie.cer -------------------------------------------------------------------------------- /tests/helpers/scomnewbie.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/scomnewbie.crt -------------------------------------------------------------------------------- /tests/helpers/scomnewbie.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/scomnewbie.pem -------------------------------------------------------------------------------- /tests/helpers/scomnewbie.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/scomnewbie.pfx -------------------------------------------------------------------------------- /tests/helpers/scomnewbie2.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/scomnewbie2.pem -------------------------------------------------------------------------------- /tests/helpers/secret.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/secret.enc -------------------------------------------------------------------------------- /tests/helpers/testentracert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/testentracert.crt -------------------------------------------------------------------------------- /tests/helpers/testentracert.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/testentracert.pfx -------------------------------------------------------------------------------- /tests/helpers/wrongprivatekey_rsa.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCOMnewbie/PSMSALNet/HEAD/tests/helpers/wrongprivatekey_rsa.key --------------------------------------------------------------------------------