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

Set-AWSSamlEndpoint doesn't work on MacOs Monterey #287

Open
yevhenhnes opened this issue Oct 5, 2022 · 2 comments
Open

Set-AWSSamlEndpoint doesn't work on MacOs Monterey #287

yevhenhnes opened this issue Oct 5, 2022 · 2 comments
Labels
bug This issue is a bug. module/powershell-cmdlets p2 This is a standard priority issue queued

Comments

@yevhenhnes
Copy link

yevhenhnes commented Oct 5, 2022

Describe the bug

When I try to use Set-AWSSamlEndpoint on MacOS Monterey I have following issue:
Set-AWSSamlEndpoint: The encrypted store is not available. This may be due to use of a non-Windows operating system or Windows Nano Server, or the current user account may not have its profile loaded.

Expected Behavior

Expect behavior as in https://docs.aws.amazon.com/powershell/latest/userguide/saml-pst.html instruction

Current Behavior

$epName = Set-AWSSamlEndpoint -Endpoint $endpoint -StoreAs ADFS-Demo  
Set-AWSSamlEndpoint: The encrypted store is not available.  This may be due to use of a non-Windows operating system or Windows Nano Server, or the current user account may not have its profile loaded.

Reproduction Steps

In MacOs poweshell type:

$endpoint = "https://example.com"  
$epName = Set-AWSSamlEndpoint -Endpoint $endpoint -StoreAs ADFS-Demo  
Set-AWSSamlEndpoint: The encrypted store is not available.  This may be due to use of a non-Windows operating system or Windows Nano Server, or the current user account may not have its profile loaded.

Possible Solution

No response

Additional Information/Context

No response

AWS Tools for PowerShell version used

AWS Tools for PowerShell Version 4.1.18

PowerShell version used

`
Name Value


PSVersion 7.2.6
PSEdition Core
GitCommitId 7.2.6
OS Darwin 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0`

Operating System and version

MacOs Monterey

@yevhenhnes yevhenhnes added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Oct 5, 2022
@ashishdhingra
Copy link
Contributor

The link https://docs.aws.amazon.com/powershell/latest/userguide/saml-pst.html mentions that for SAML support, AWS Tools for PowerShell authenticates against AD FS by using the Windows user's current credentials, or interactive credentials. Unsure if AD FS support is available in Mac out of the box. Needs review.

@ashishdhingra ashishdhingra added needs-review and removed needs-triage This issue or PR still needs to be triaged. labels Oct 5, 2022
@ashishdhingra
Copy link
Contributor

Related issue #134

@ashishdhingra ashishdhingra added p1 This is a high priority issue queued and removed A labels Nov 1, 2022
@ashishdhingra ashishdhingra added p2 This is a standard priority issue and removed p1 This is a high priority issue labels May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. module/powershell-cmdlets p2 This is a standard priority issue queued
Projects
None yet
Development

No branches or pull requests

2 participants