Skip to content

yandex-cloud/dotnet-sdk

Repository files navigation

Nuget CircleCI License

Yandex.Cloud SDK (C#)

Need to automate your infrastructure or use services provided by Yandex.Cloud? We've got you covered.

Installation:

dotnet add package Yandex.Cloud.SDK

Getting started

There are several options for authorization your requests - OAuth Token, Metadata Service (if you're executing code inside VMs or Functions running in Yandex.Cloud) and Service Account Keys

OAuth Token

using Yandex.Cloud;
using Yandex.Cloud.Credentials;

var sdk = new Sdk(new OAuthCredentialsProvider("AQAD-....."));

Metadata Service

Don't forget to assign Service Account for your Instance or Function and grant required roles.

using Yandex.Cloud;

var sdk = new Sdk();

Check Example directory for more examples.

Hacking

To build and test this SDK you need to have installed dotnet utility. All required tasks are defined in Makefile (all will build, generate and run all tests).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages