feat(techdocs-common): add Azure Storage

This commit is contained in:
vitorgrenzel
2021-01-13 09:20:58 -03:00
committed by Tiago A. Simões
parent 64e35f7d30
commit c777df180a
14 changed files with 616 additions and 8 deletions
+39
View File
@@ -114,6 +114,45 @@ export interface Config {
region?: string;
};
}
| {
/**
* attr: 'type' - accepts a string value
* e.g. type: 'azureStorage'
* alternatives: 'azureStorage' etc.
* @see http://backstage.io/docs/features/techdocs/configuration
*/
type: 'azureStorage';
/**
* azureStorage required when 'type' is set to azureStorage
*/
azureStorage?: {
/**
* Credentials used to access a storage container
* @visibility secret
*/
credentials: {
/**
* Account access name
* attr: 'account' - accepts a string value
* @visibility secret
*/
account: string;
/**
* Account secret primary key
* attr: 'accountKey' - accepts a string value
* @visibility secret
*/
accountKey: string;
};
/**
* Cloud Storage Container Name
* attr: 'containerName' - accepts a string value
* @visibility backend
*/
containerName: string;
};
}
| {
/**
* attr: 'type' - accepts a string value