Class BambooCredentialsImportResource


  • @Singleton
    public class BambooCredentialsImportResource
    extends Object
    • Constructor Detail

      • BambooCredentialsImportResource

        public BambooCredentialsImportResource​(CredentialsExportService credentialsExportService,
                                               BambooPermissionManager bambooPermissionManager,
                                               com.atlassian.event.api.EventPublisher eventPublisher,
                                               com.atlassian.sal.api.message.I18nResolver i18nResolver,
                                               FeatureManager featureManager)
    • Method Detail

      • importCredential

        public javax.ws.rs.core.Response importCredential​(@NotNull
                                                          @NotNull String yamlString,
                                                          @Context
                                                          javax.ws.rs.core.HttpHeaders headers)
                                                   throws WebValidationException
        Import configuration of a shared credential in YAML format. Request payload contains YAML with import data.
        Throws:
        WebValidationException