mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-10 00:27:02 +02:00
32 lines
802 B
JavaScript
32 lines
802 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import buildRoutes from 'ember-engines/routes';
|
|
|
|
export default buildRoutes(function () {
|
|
this.route('overview');
|
|
this.route('roles', function () {
|
|
this.route('create');
|
|
this.route('role', { path: '/:type/:name' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
this.route('credentials');
|
|
});
|
|
});
|
|
this.route('libraries', function () {
|
|
this.route('create');
|
|
this.route('library', { path: '/:name' }, function () {
|
|
this.route('details', function () {
|
|
this.route('accounts');
|
|
this.route('configuration');
|
|
});
|
|
this.route('edit');
|
|
this.route('check-out');
|
|
});
|
|
});
|
|
this.route('configure');
|
|
this.route('configuration');
|
|
});
|