Giter Site home page Giter Site logo

integrate-2022's People

Contributors

skastberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

integrate-2022's Issues

Issue while using the Key vault reference

Goodmorning Samuel Kastberg,

Your code and bicep file works flawlessly to create a connectionKey for the managed connections. Thanks! But i am having issues to use the Keyvault reference.

While using the Keyvault reference in my local.settings.json:

"apicon-storage-connectionKey": "@Microsoft.KeyVault(VaultName=keyvaultname;SecretName=apicon-storage-connectionKey)",

i am receiving the following error on action execution in the workflow:

{ "status": 400, "source": "", "message": "Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256\r\nInvalid JWT token. IDX12741: JWT: 'System.String' must have three segments (JWS) or five segments (JWE).\r\n" }

It sounds to me like it could be 2 things:

  1. it does not understand the reference and uses the referencestring as input for the connectionKey
  2. The keyvault reference cannot authenticate to the Keyvault itself.

Ive checked the second option and i do have access (with my user account) to the keyvault secret, because the bicep file executed without issue underneath the same user account.

While using the connection key value directly within the local.settings.json it works.

Do you have any suggestions on how to resolve this issue, i would rather use the Keyvault reference as this would save some time "copy and pasting" connection keys

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.