AnalyticsBucketDetails.constants.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. export const OPTION_ORDER = [
  2. 'catalog_uri',
  3. 'vault_token',
  4. 'warehouse',
  5. 's3.endpoint',
  6. 'vault_aws_access_key_id',
  7. 'vault_aws_secret_access_key',
  8. ]
  9. export const LABELS: Record<string, string> = {
  10. vault_aws_access_key_id: 'S3 access key ID',
  11. vault_aws_secret_access_key: 'S3 secret access key',
  12. vault_token: 'Catalog token',
  13. warehouse: 'Warehouse name',
  14. 's3.endpoint': 'S3 endpoint',
  15. catalog_uri: 'Catalog URI',
  16. }
  17. export const DESCRIPTIONS: Record<string, string> = {
  18. vault_aws_access_key_id: 'Matches the AWS access key ID from an S3 access key.',
  19. vault_aws_secret_access_key: 'Matches the AWS secret access from an S3 access key.',
  20. vault_token: 'Corresponds to the service role key.',
  21. warehouse: 'Matches the name of this bucket.',
  22. 's3.endpoint': '',
  23. catalog_uri: '',
  24. }
  25. // [Joshen] For context we've decided to decouple ETL from Analytics Buckets for now
  26. // So this flag just hides all ETL-related user flows in Analytics Buckets
  27. // Depending on future decision if we intend to keep it that way, then we might be able
  28. // to clean up + deprecate the remaining ETL-related UI within Analytics Buckets
  29. export const HIDE_REPLICATION_USER_FLOW = true