question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In AppInfo replace secret with secrets

See original GitHub issue

In the aad app add command we have the AppInfo interface that describes the shape of data returned by the command: https://github.com/pnp/cli-microsoft365/blob/04832fc5cbaa6a78248170fc2605916ea66e43be/src/m365/aad/commands/app/app-add.ts#L32-L38. Unfortunately, AppInfo allows only for a single value for a secret, where in reality you could define multiple. This is especially the case when you’re creating the app from the manifest.

In v6 we should change the shape of the data and replace the secret property with secrets which is { displayName: string, value: string }[].

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
milanholemanscommented, Mar 18, 2022

No problem, I’m quite new to this, so I still have to learn about the way of working. 😄

1reaction
milanholemanscommented, Mar 17, 2022

No problem, I didn’t know this. I was a bit confused because another issue was labeled with a v6 milestone and an ‘on hold’ label. Since this issue had no ‘on hold’ label I thought we could work on it. I totally understand the reason so will look for other issues. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Decouple Application Secrets from Your CI/CD Pipeline
Keep your passwords, API keys, and other secrets out of CI/CD ... from application secrets, there is now a new secret that has...
Read more >
Safe storage of app secrets in development in ASP.NET Core
Automatically replaced by a : Secret Manager. The Secret Manager tool stores sensitive data during the development of an ASP.NET Core project.
Read more >
Modify an AWS Secrets Manager secret
To change a secret so that it is managed by another service, you need to recreate the secret in that service. See Secrets...
Read more >
iOS App Distribution & Best Practices, Chapter 12: Managing ...
Learn how to store secrets, such as API tokens in build configurations, swap them for different build types and use them in the...
Read more >
Replace secrets in Googles App Engine Deployment File
If you are using Googles App Engine and want to use secrets in the app.yaml file, you can store them as Secrets in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found