Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial check in for KeyVault mgmt track 2 #12039

Merged
merged 4 commits into from
May 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
121 changes: 121 additions & 0 deletions sdk/keyvault/Azure.Management.KeyVault/Azure.Management.KeyVault.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30011.22
MinimumVisualStudioVersion = 15.0.26124.0
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Management.KeyVault", "src\Azure.Management.KeyVault.csproj", "{68CD0142-EAA5-4D17-B574-0E059D28908B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Management.KeyVault.Tests", "tests\Azure.Management.KeyVault.Tests.csproj", "{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{D834F7AA-20E1-4A74-8474-6E367332E3EB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core", "..\..\core\Azure.Core\src\Azure.Core.csproj", "{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Identity", "..\..\identity\Azure.Identity\src\Azure.Identity.csproj", "{CDBD55B6-0742-464F-8188-3BF17006FA34}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Graph.Rbac", "..\..\testcommon\Azure.Graph.Rbac\src\Azure.Graph.Rbac.csproj", "{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Management.Resource", "..\..\testcommon\Azure.Management.Resource.2017_05\src\Azure.Management.Resource.csproj", "{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Debug|x64.ActiveCfg = Debug|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Debug|x64.Build.0 = Debug|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Debug|x86.ActiveCfg = Debug|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Debug|x86.Build.0 = Debug|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Release|Any CPU.Build.0 = Release|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Release|x64.ActiveCfg = Release|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Release|x64.Build.0 = Release|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Release|x86.ActiveCfg = Release|Any CPU
{68CD0142-EAA5-4D17-B574-0E059D28908B}.Release|x86.Build.0 = Release|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Debug|x64.ActiveCfg = Debug|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Debug|x64.Build.0 = Debug|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Debug|x86.ActiveCfg = Debug|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Debug|x86.Build.0 = Debug|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Release|Any CPU.Build.0 = Release|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Release|x64.ActiveCfg = Release|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Release|x64.Build.0 = Release|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Release|x86.ActiveCfg = Release|Any CPU
{831C392A-50D2-45D4-8AC9-CDB1FF7B443E}.Release|x86.Build.0 = Release|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Debug|x64.ActiveCfg = Debug|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Debug|x64.Build.0 = Debug|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Debug|x86.ActiveCfg = Debug|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Debug|x86.Build.0 = Debug|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Release|Any CPU.Build.0 = Release|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Release|x64.ActiveCfg = Release|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Release|x64.Build.0 = Release|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Release|x86.ActiveCfg = Release|Any CPU
{D834F7AA-20E1-4A74-8474-6E367332E3EB}.Release|x86.Build.0 = Release|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Debug|x64.ActiveCfg = Debug|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Debug|x64.Build.0 = Debug|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Debug|x86.ActiveCfg = Debug|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Debug|x86.Build.0 = Debug|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Release|Any CPU.Build.0 = Release|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Release|x64.ActiveCfg = Release|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Release|x64.Build.0 = Release|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Release|x86.ActiveCfg = Release|Any CPU
{91F4FCC0-AEB7-4FEC-B3C2-7A3F9764CB51}.Release|x86.Build.0 = Release|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Debug|x64.ActiveCfg = Debug|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Debug|x64.Build.0 = Debug|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Debug|x86.ActiveCfg = Debug|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Debug|x86.Build.0 = Debug|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Release|Any CPU.Build.0 = Release|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Release|x64.ActiveCfg = Release|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Release|x64.Build.0 = Release|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Release|x86.ActiveCfg = Release|Any CPU
{CDBD55B6-0742-464F-8188-3BF17006FA34}.Release|x86.Build.0 = Release|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Debug|x64.ActiveCfg = Debug|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Debug|x64.Build.0 = Debug|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Debug|x86.ActiveCfg = Debug|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Debug|x86.Build.0 = Debug|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|Any CPU.Build.0 = Release|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|x64.ActiveCfg = Release|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|x64.Build.0 = Release|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|x86.ActiveCfg = Release|Any CPU
{4CACB10F-8A47-4BF5-9AA7-C8303D8E4BD2}.Release|x86.Build.0 = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|x64.ActiveCfg = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|x64.Build.0 = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|x86.ActiveCfg = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Debug|x86.Build.0 = Debug|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|Any CPU.Build.0 = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|x64.ActiveCfg = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|x64.Build.0 = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|x86.ActiveCfg = Release|Any CPU
{E55AC16E-98FB-4C1F-A873-C9ADDA0896CA}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {EEF0B562-43E9-4E60-B175-1E70BF329831}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions sdk/keyvault/Azure.Management.KeyVault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Release History

## 1.0.0-preview.1

### New Features
- Initial preview of Azure Management KeyVault SDK based on Azure.Core
6 changes: 6 additions & 0 deletions sdk/keyvault/Azure.Management.KeyVault/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props
-->
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" />
</Project>
69 changes: 69 additions & 0 deletions sdk/keyvault/Azure.Management.KeyVault/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# README.md template

Use the guidelines in each section of this template to ensure consistency and readability of your README. The README resides in your package's GitHub repository at the root of its directory within the repo. It's also used as the package distribution page (NuGet, PyPi, npm, etc.) and as a Quickstart on docs.microsoft.com. See [README-EXAMPLE.md](README-EXAMPLE.md) for an example following this template.

* All headings, including the H1, should use **sentence-style capitalization**. Refer to the [Microsoft Style Guide][style-guide-msft] and [Microsoft Cloud Style Guide][style-guide-cloud] for more information.
* Example: `# Azure Batch client library for Python`

# Azure Management KeyVault client library for .NET

**Introduction**: The introduction appears directly under the title (H1) of your README.

* **DO NOT** use an "Introduction" or "Overview" heading (H2) for this section.
* First sentence: **Describe the service** briefly. You can usually use the first line of the service's docs landing page for this (Example: [Cosmos DB docs landing page](https://docs.microsoft.com/azure/cosmos-db/)).
* Next, add a **bulleted list** of the **most common tasks** supported by the package or library, prefaced with "Use the client library for [Product Name] to:". Then, provide code snippets for these tasks in the [Examples](#examples) section later in the document. Keep the task list short but include those tasks most developers need to perform with your package.
* Include this single line of links targeting your product's content at the bottom of the introduction, making any adjustments as necessary (for example, NuGet instead of PyPi):

[Source code](https://github.com/Azure/azure-sdk-for-python/tree/master/azure-batch) | [Package (PyPi)](https://pypi.org/project/azure-batch/) | [API reference documentation](https://docs.microsoft.com/python/api/overview/azure/batch?view=azure-python) | [Product documentation](https://docs.microsoft.com/azure/batch/)

> TIP: Your README should be as **brief** as possible but **no more brief** than necessary to get a developer new to Azure, the service, or the package up and running quickly. Keep it brief, but include everything a developer needs to make their first API call successfully.

## Getting started

This section should include everything a developer needs to do to install and create their first client connection *very quickly*.

### Install the package

First, provide instruction for obtaining and installing the package or library. This section might include only a single line of code, like `pip install package-name`, but should enable a developer to successfully install the package from NuGet, pip, npm, Maven, or even cloning a GitHub repository.

Include a **Prerequisites** line after the install command that details any requirements that must be satisfied before a developer can [authenticate](#authenticate-the-client) and test all of the snippets in the [Examples](#examples) section. For example, for Cosmos DB:

**Prerequisites**: You must have an [Azure subscription](https://azure.microsoft.com/free/), [Cosmos DB account](https://docs.microsoft.com/azure/cosmos-db/account-overview) (SQL API), and [Python 3.6+](https://www.python.org/downloads/) to use this package.

### Authenticate the client

If your library requires authentication for use, such as for Azure services, include instructions and example code needed for initializing and authenticating.

For example, include details on obtaining an account key and endpoint URI, setting environment variables for each, and initializing the client object.

## Key concepts

The *Key concepts* section should describe the functionality of the main classes. Point out the most important and useful classes in the package (with links to their reference pages) and explain how those classes work together. Feel free to use bulleted lists, tables, code blocks, or even diagrams for clarity.

## Examples

Include code snippets and short descriptions for each task you listed in the [Introduction](#introduction) (the bulleted list). Briefly explain each operation, but include enough clarity to explain complex or otherwise tricky operations.

## Troubleshooting

Describe common errors and exceptions, how to "unpack" them if necessary, and include guidance for graceful handling and recovery.

Provide information to help developers avoid throttling or other service-enforced errors they might encounter. For example, provide guidance and examples for using retry or connection policies in the API.

If the package or a related package supports it, include tips for logging or enabling instrumentation to help them debug their code.

## Next steps

* Provide a link to additional code examples, ideally to those sitting alongside the README in the package's `/samples` directory.
* If appropriate, point users to other packages that might be useful.
* If you think there's a good chance that developers might stumble across your package in error (because they're searching for specific functionality and mistakenly think the package provides that functionality), point them to the packages they might be looking for.

## Contributing

This is a template, but your SDK readme should include details on how to contribute code to the repo/package.

<!-- LINKS -->
[style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization
[style-guide-cloud]: https://worldready.cloudapp.net/Styleguide/Read?id=2696&topicid=25357

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net%2Fsdk%2Ftemplate%2FAzure.Template%2FREADME.png)
Loading