open-vault/ui/app/adapters/ssh-otp-credential.js

8 lines
144 B
JavaScript

import SSHAdapter from './ssh';
export default SSHAdapter.extend({
url(role) {
return `/v1/${role.backend}/creds/${role.name}`;
},
});