Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
StorageSharedKeyCredential Class
Definition
- Namespace:
- Azure.Storage
- Assembly:
- Azure.Storage.Common.dll
- Package:
- Azure.Storage.Common v12.28.0
- Package:
- Azure.Storage.Common v12.28.0-beta.1
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A StorageSharedKeyCredential is a credential backed by a Storage Account's name and one of its access keys.
public class StorageSharedKeyCredential
type StorageSharedKeyCredential = class
Public Class StorageSharedKeyCredential
- Inheritance
-
StorageSharedKeyCredential
Constructors
| Name | Description |
|---|---|
| StorageSharedKeyCredential(String, String) |
Initializes a new instance of the StorageSharedKeyCredential class. |
Properties
| Name | Description |
|---|---|
| AccountName |
Gets the name of the Storage Account. |
Methods
| Name | Description |
|---|---|
| ComputeSasSignature(StorageSharedKeyCredential, String) |
Generates a base-64 hash signature string for an HTTP request or for a SAS. |
| SetAccountKey(String) |
Update the Storage Account's access key. This intended to be used when you've regenerated your Storage Account's access keys and want to update long lived clients. |
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
