crypto: make certificate parsing optional for crypto api (#3711)
This commit is contained in:
		| @ -87,6 +87,7 @@ export class ServiceConnectionDockerForm extends ModelForm<DockerServiceConnecti | ||||
|                         new CryptoApi(DEFAULT_CONFIG) | ||||
|                             .cryptoCertificatekeypairsList({ | ||||
|                                 ordering: "name", | ||||
|                                 includeDetails: false, | ||||
|                             }) | ||||
|                             .then((certs) => { | ||||
|                                 return certs.results.map((cert) => { | ||||
| @ -122,6 +123,7 @@ export class ServiceConnectionDockerForm extends ModelForm<DockerServiceConnecti | ||||
|                         new CryptoApi(DEFAULT_CONFIG) | ||||
|                             .cryptoCertificatekeypairsList({ | ||||
|                                 ordering: "name", | ||||
|                                 includeDetails: false, | ||||
|                             }) | ||||
|                             .then((certs) => { | ||||
|                                 return certs.results.map((cert) => { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens L
					Jens L