Merge pull request #4017 from viavarejo/feature/techdocs-azure-storage
This commit is contained in:
@@ -148,6 +148,7 @@ export async function createRouter({
|
||||
}
|
||||
break;
|
||||
case 'awsS3':
|
||||
case 'azureBlobStorage':
|
||||
case 'googleGcs':
|
||||
// This block should be valid for all external storage implementations. So no need to duplicate in future,
|
||||
// add the publisher type in the list here.
|
||||
|
||||
Vendored
+41
@@ -114,6 +114,47 @@ export interface Config {
|
||||
region?: string;
|
||||
};
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* attr: 'type' - accepts a string value
|
||||
* e.g. type: 'azureBlobStorage'
|
||||
* alternatives: 'azureBlobStorage' etc.
|
||||
* @see http://backstage.io/docs/features/techdocs/configuration
|
||||
*/
|
||||
type: 'azureBlobStorage';
|
||||
|
||||
/**
|
||||
* azureBlobStorage required when 'type' is set to azureBlobStorage
|
||||
*/
|
||||
azureBlobStorage?: {
|
||||
/**
|
||||
* (Required) Credentials used to access a storage container.
|
||||
* @visibility secret
|
||||
*/
|
||||
credentials: {
|
||||
/**
|
||||
* Account access name
|
||||
* attr: 'account' - accepts a string value
|
||||
* @visibility secret
|
||||
*/
|
||||
accountName: string;
|
||||
/**
|
||||
* (Optional) Account secret primary key
|
||||
* If not set, environment variables will be used to authenticate.
|
||||
* https://docs.microsoft.com/en-us/azure/storage/common/storage-auth?toc=/azure/storage/blobs/toc.json
|
||||
* attr: 'accountKey' - accepts a string value
|
||||
* @visibility secret
|
||||
*/
|
||||
accountKey?: string;
|
||||
};
|
||||
/**
|
||||
* (Required) Cloud Storage Container Name
|
||||
* attr: 'containerName' - accepts a string value
|
||||
* @visibility backend
|
||||
*/
|
||||
containerName: string;
|
||||
};
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* attr: 'type' - accepts a string value
|
||||
|
||||
Reference in New Issue
Block a user