sailpoint-oss / powershell-sdk

PowerShell Module for accessing SailPoint IdentityNow APIs
https://developer.sailpoint.com/
MIT License
21 stars 15 forks source link

False Positive Configuration Error #15

Closed Anneragh closed 1 year ago

Anneragh commented 1 year ago

False positive error: I am using the environmental variable configurations, not from config.yaml.

I am using configuration from the below variables: $env:SAIL_BASE_URL = "https://{tenant}-dev.api.identitynow.com" $env:SAIL_CLIENT_ID = "{id}" $env:SAIL_CLIENT_SECRET = "{secret}"

Which throws the below error: "Configuration file not found at C:\Users{username}/.sailpoint/config.yaml. Please provide a configuration file or configure using PowerShell environment variables. "

However, the API call responded with the expected payload.

tyler-mairose-sp commented 1 year ago

Hello @Anneragh,

Thank you for bringing this to our attention and helping to make our SDKs better!

This is fixed in https://github.com/sailpoint-oss/powershell-sdk/pull/17 and will be part of the next release.