ClientOptions.SasTokenTimeToLive Property
Definition
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.
The suggested time to live value for tokens generated for SAS authenticated clients. The TimeSpan provided should be a positive value, signifying that it is not possible to generate tokens that have already expired. If unset the generated SAS tokens will be valid for 1 hour.
public TimeSpan SasTokenTimeToLive { get; set; }
member this.SasTokenTimeToLive : TimeSpan with get, set
Public Property SasTokenTimeToLive As TimeSpan
Property Value
Remarks
This is used only for SAS token authenticated clients through either the CreateFromConnectionString(String, ClientOptions) flow, the CreateFromConnectionString(String, ClientOptions) flow or the CreateFromEnvironmentAsync(ClientOptions) flow.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for