feat: add a option to select a acme user when obtaining a certificate.

This commit is contained in:
Jacky 2024-04-30 11:16:30 +08:00
parent e77d37bbaa
commit f0dcd67004
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
8 changed files with 186 additions and 2 deletions

View file

@ -1,6 +1,7 @@
import type { ModelBase } from '@/api/curd'
import Curd from '@/api/curd'
import type { DnsCredential } from '@/api/dns_credential'
import type { AcmeUser } from '@/api/acme_user'
export interface Cert extends ModelBase {
name: string
@ -14,6 +15,8 @@ export interface Cert extends ModelBase {
challenge_method: string
dns_credential_id: number
dns_credential?: DnsCredential
acme_user_id: number
acme_user?: AcmeUser
key_type: string
log: string
certificate_info: CertificateInfo