Giter VIP home page Giter VIP logo

key-vault-dotnet-manage-key-vaults's Introduction

page_type languages products extensions
sample
csharp
azure
services platforms
Key-Vault
dotnet

Getting started on managing key vaults in C#

Azure Key Vault sample for managing key vaults -

  • Create a key vault
  • Authorize an application
  • Update a key vault
    • alter configurations
    • change permissions
  • Create another key vault
  • List key vaults
  • Delete a key vault.

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/key-vault-dotnet-manage-key-vaults.git

cd key-vault-dotnet-manage-key-vaults

dotnet build

bin\Debug\net452\ManageKeyVault.exe

More information

Azure Management Libraries for C# Azure .Net Developer Center If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

key-vault-dotnet-manage-key-vaults's People

Contributors

anuchandy avatar anudeepsharma avatar arthurma1978 avatar azure-fluent avatar jongio avatar lenala avatar melina5656 avatar supernova-eng avatar wantedfast avatar xseeseesee avatar yaohaizh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

key-vault-dotnet-manage-key-vaults's Issues

Readme file no longer make any sense after the last refresh

@melina5656 you refreshed the app (quite significantly) but have left us simple folk confused and bewildered :-) because the readme.md no longer bares any relation on how to get this app working.

Especially troublesome is the link pointing the user towards creating an authentication file they'll never get to use :-)

It would be super awesome if you could refresh the readme to align with your super work on the app itself and perhaps point readers to some documentation which shows them what actually needs to be done in Azure in order to be able to successfully run this app.

.net 4.5 required

Does not work on a non windows machine.

$ dotnet run
/usr/local/share/dotnet/sdk/2.1.4/Microsoft.Common.CurrentVersion.targets(1124,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/Users/xx/GitHub/key-vault-dotnet-manage-key-vaults/ManageKeyVault.csproj]

The build failed. Please fix the build errors and run again.

Permission issues

Is there some set up that must be done before the code can run successfully?

Microsoft.Rest.Azure.CloudException: 'The client 'xxxxxxxx-xxxx-xxxx-xxxxxxxxx' with object id 'xxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxx' does not have authorization to perform action 'Microsoft.KeyVault/vaults/write' over scope '/subscriptions/xxxxxxxx-xxxx-xxxxx-xxxxx-xxxxxxxxxxxxxxx/resourceGroups/xxxxxxxxxxxxGroup/providers/Microsoft.KeyVault/vaults/vault175053159243' or the scope is invalid. If access was recently granted, please refresh your credentials.'

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.