/// <summary> /// Gets a single Credential Store by its key. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Settings or Settings.Read. /// /// Required permissions: Settings.View. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='key'> /// </param> /// <param name='expand'> /// Indicates the related entities to be represented inline. The maximum depth /// is 2. /// </param> /// <param name='select'> /// Limits the properties returned in the result. /// </param> public static CredentialStoreDto GetById(this ICredentialStores operations, long key, string expand = default(string), string select = default(string)) { return(operations.GetByIdAsync(key, expand, select).GetAwaiter().GetResult()); }