Comments (5)
As far as I know the task should be able to process secret variables.
Is this also the case with other tasks, eg https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#secret-variables?
from vsts-release-aas.
I would think it should. What's weird is when I go into variables and I attempt to set a variable for the application key associated with a service principal, it looks like it works fine, but then I run the release and it says "invalid client secret". I wondered if it was because I was copy/pasting the key into the variable and then clicking the lock icon to lock it. So then I tried copy/pasting with it already locked. I also tried typing in the key in case it was adding ASCII characters to the string. After the release fails, it seems like the variables are not being stored because I click on the lock icon and it's empty. This is probably just so that people don't actually go in and see the key, but I'm confused by it. I tried using a variable group as well, and ran into the same issues. Yet somehow, if I simply copy/paste the client secret into the application key field, then the release succeeds just fine. I found that this issue happens with any variables I try to set. I wanted to do the same thing for our Azure SQL credentials and received the same type of error.
from vsts-release-aas.
You are correct that you cannot retrieve the secret by 'unlocking' it: the value is empty.
And secrets are only hidden for the user output/log and not for the tasks itself. The only thing I can think of is that there are characters in the password that are not correctly parsed by PowerShell.
Can you change the password to one without any special characters?
from vsts-release-aas.
That would make sense. Unfortunately, I am not able to change most of these passwords, but I did notice this when I looked at the YAML, so it does look like it's not recognizing the variables.
from vsts-release-aas.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from vsts-release-aas.
Related Issues (20)
- How to change Data source connection for deployment to PowerBI premium? HOT 4
- Question about 'overwrite' option will be deprecated in a future version HOT 2
- Unable to add Azure Analysis task to the pipeline HOT 3
- Not a valid model file. (A parameter cannot be found that matches parameter name 'Encoding'.) HOT 1
- error]The IP firewall settings is invalid because the IP address <ip>xx.xx.xx.xx</ip> can't be parsed. HOT 11
- Deployment Task unable to update Firewall rules and failing with below error HOT 1
- Automatic firewall addition start failing in Azure SSAS deployment HOT 2
- Password gets deleted/ reset after deployment pipeline run HOT 1
- A parameter cannot be found that matches parameter name 'Encoding' HOT 1
- Not able to fetch token for tenant HOT 1
- Tabular Deployment timing out HOT 3
- deprecation warnings HOT 2
- Exception calling "DeserializeDatabase" with "1" argument(s): "Unrecognized JSON property: maxParallelismPerRefresh HOT 1
- Add Support for Deployment of Field Parameters HOT 3
- When deployed to Azure Analysis Services, the model name is always "Model" HOT 3
- Support for Snowflake / ODBC connections HOT 2
- Login type "inherit" fails with error "Cannot bind argument to parameter 'String' because it is null" HOT 2
- Error while deploying a tabular model with a Parameter field HOT 1
- [error]Not a valid model file. (Access to the path 'D:\a\r1\a' is denied.) HOT 1
- Support for Workload Identity Federation (WIF) Service Connections
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsts-release-aas.