open-vault/ui/app/adapters/ssh-sign.js

13 lines
221 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import SSHAdapter from './ssh';
export default SSHAdapter.extend({
url(role) {
return `/v1/${role.backend}/sign/${role.name}`;
},
});