Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for AwsImAuthentication (0.39 sec)

  1. platforms/software/resources-s3/src/main/java/org/gradle/authentication/aws/AwsImAuthentication.java

    package org.gradle.authentication.aws;
    
    import org.gradle.authentication.Authentication;
    
    /**
     * Authentication scheme for digest access authentication over S3.
     *
     * @since 3.1
     */
    public interface AwsImAuthentication extends Authentication {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 865 bytes
    - Viewed (0)
  2. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ConnectorFactory.java

                }
    
                if (authentication instanceof AwsImAuthentication) {
                    return new S3ResourceConnector(new S3Client(new S3ConnectionProperties()));
                }
            }
    
            throw new IllegalArgumentException("S3 resource should either specify AwsImAuthentication or provide some AwsCredentials.");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/main/java/org/gradle/internal/authentication/DefaultAwsImAuthentication.java

    import org.gradle.authentication.aws.AwsImAuthentication;
    
    /**
     * Implementation class for Authentication scheme for digest access authentication over S3.
     *
     * @since 3.1
     */
    public class DefaultAwsImAuthentication extends AbstractAuthentication implements AwsImAuthentication {
        public DefaultAwsImAuthentication(String name) {
            super(name, AwsImAuthentication.class);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ResourcesServices.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.resource.transport.aws.s3;
    
    import org.gradle.authentication.aws.AwsImAuthentication;
    import org.gradle.internal.authentication.AuthenticationSchemeRegistry;
    import org.gradle.internal.authentication.DefaultAwsImAuthentication;
    import org.gradle.internal.resource.connector.ResourceConnectorFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/artifacts/defineRepository/kotlin/build.gradle.kts

    repositories {
        maven {
            url = uri("s3://myCompanyBucket/maven2")
            authentication {
                create<AwsImAuthentication>("awsIm") // load from EC2 role or env var
            }
        }
    
        ivy {
            url = uri("s3://myCompanyBucket/ivyrepo")
            authentication {
                create<AwsImAuthentication>("awsIm")
            }
        }
    }
    // end::maven-ivy-s3-repository-with-iam[]
    
    // tag::maven-ivy-gcs-repository[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/artifacts/defineRepository/groovy/build.gradle

    repositories {
        maven {
            url "s3://myCompanyBucket/maven2"
            authentication {
               awsIm(AwsImAuthentication) // load from EC2 role or env var
            }
        }
    
        ivy {
            url "s3://myCompanyBucket/ivyrepo"
            authentication {
               awsIm(AwsImAuthentication)
            }
        }
    }
    // end::maven-ivy-s3-repository-with-iam[]
    
    // tag::maven-ivy-gcs-repository[]
    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenPublishS3ErrorsIntegrationTest.groovy

                publishing {
                    repositories {
                        maven {
                            url "${mavenS3Repo.uri}"
                            authentication {
                               awsIm(AwsImAuthentication)
                            }
                        }
                    }
                    publications {
                        pub(MavenPublication) {
                            from components.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenPublishS3IntegrationTest.groovy

            given:
            def mavenRepo = new MavenS3Repository(server, file("repo"), "/maven", "tests3Bucket")
            buildFile << publicationBuild(mavenRepo.uri, """
                authentication {
                   awsIm(AwsImAuthentication)
                }
                """)
    
            when:
            def module = mavenRepo.module('org.gradle.test', 'publishS3Test', '1.0').withModuleMetadata()
            expectPublish(module.artifact)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenS3RepoErrorsIntegrationTest.groovy

            failure.assertHasCause("Could not resolve all dependencies for configuration ':compile'.")
                    .assertHasCause("S3 resource should either specify AwsImAuthentication or provide some AwsCredentials.")
    
        }
    
        @ToBeFixedForConfigurationCache
        def "should include resource uri when file not found"() {
            setup:
            buildFile << mavenAwsRepoDsl()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_repositories.adoc

    include::sample[dir="snippets/artifacts/defineRepository/groovy",files="build.gradle[tags=maven-ivy-s3-repository]"]
    ====
    
    You can also delegate all credentials to the AWS sdk by using the AwsImAuthentication. The following example shows how:
    
    .Declaring an S3 backed Maven and Ivy repository using IAM
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 43.2K bytes
    - Viewed (0)
Back to top