Add SubscriptionIDs and ObjectIDs to provisioner-linkedca conversion functions

pull/829/head
vijayjt 2 years ago
parent 4a10f2c584
commit b128e37090

@ -706,6 +706,8 @@ func ProvisionerToCertificates(p *linkedca.Provisioner) (provisioner.Interface,
Name: p.Name, Name: p.Name,
TenantID: cfg.TenantId, TenantID: cfg.TenantId,
ResourceGroups: cfg.ResourceGroups, ResourceGroups: cfg.ResourceGroups,
SubscriptionIDs: cfg.SubscriptionIds,
ObjectIDs: cfg.ObjectIds,
Audience: cfg.Audience, Audience: cfg.Audience,
DisableCustomSANs: cfg.DisableCustomSans, DisableCustomSANs: cfg.DisableCustomSans,
DisableTrustOnFirstUse: cfg.DisableTrustOnFirstUse, DisableTrustOnFirstUse: cfg.DisableTrustOnFirstUse,
@ -865,6 +867,8 @@ func ProvisionerToLinkedca(p provisioner.Interface) (*linkedca.Provisioner, erro
Azure: &linkedca.AzureProvisioner{ Azure: &linkedca.AzureProvisioner{
TenantId: p.TenantID, TenantId: p.TenantID,
ResourceGroups: p.ResourceGroups, ResourceGroups: p.ResourceGroups,
SubscriptionIds: p.SubscriptionIDs,
ObjectIds: p.ObjectIDs,
Audience: p.Audience, Audience: p.Audience,
DisableCustomSans: p.DisableCustomSANs, DisableCustomSans: p.DisableCustomSANs,
DisableTrustOnFirstUse: p.DisableTrustOnFirstUse, DisableTrustOnFirstUse: p.DisableTrustOnFirstUse,

Loading…
Cancel
Save